Funding

My working capital

The user's working capital limits each time one changes.

WSSwss://ws.bit2me.com/v1/tradingmy-working-capital

Streams the user's working capital limits every time one of them changes. Needs an authenticated connection.

Subscribe

Subscribes the connection to my-working-capital. This channel takes no symbol. Authenticate the connection first: an unauthenticated connection gets Forbidden.

event*string
Valuesubscribe
subscription*object
Show properties
name*string
Valuemy-working-capital

Update

The user's working capital limits each time one changes.

The user's working capital limits.

event*string
Valuemy-working-capital
data*object
Show properties
userId?string
Formatuuid
workingCapital?object[]
Show properties
currency?string
Match^[A-Z0-9]+$
ExampleEUR
type?string
Exampledeposit
limit?number
used?number
remaining?number
refillThreshold?number

Unsubscribe

Removes the my-working-capital subscription.

Removes the my-working-capital subscription of the connection.

event*string
Valueunsubscribe
subscription*object
Show properties
name*string
Valuemy-working-capital
{  "event": "subscribe",  "subscription": {    "name": "my-working-capital"  }}
{  "event": "my-working-capital",  "data": {    "userId": "7bd4cc22-7682-4e45-85b3-29386b979d75",    "workingCapital": [      {        "currency": "B2M",        "type": "deposit",        "limit": 5000,        "used": 2500,        "remaining": 2500,        "refillThreshold": 2500      }    ]  }}
{  "event": "unsubscribe",  "subscription": {    "name": "my-working-capital"  }}