Funding

My balance

The user's balances each time one changes.

WSSwss://ws.bit2me.com/v1/tradingmy-balance

Streams the user's trading balances every time the balance of one of the currencies changes. Needs an authenticated connection.

Subscribe

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

event*string
Valuesubscribe
subscription*object
Show properties
name*string
Valuemy-balance

Update

The user's balances each time one changes.

The user's trading balances.

event*string
Valuemy-balance
data*object
Show properties
userId?string
Formatuuid
balance?object[]
Show properties
currency?string
Match^[A-Z0-9]+$
ExampleEUR
balance?number

Available balance.

blockedBalance?number

Balance held by open orders.

Unsubscribe

Removes the my-balance subscription.

Removes the my-balance subscription of the connection.

event*string
Valueunsubscribe
subscription*object
Show properties
name*string
Valuemy-balance
{  "event": "subscribe",  "subscription": {    "name": "my-balance"  }}
{  "event": "my-balance",  "data": {    "userId": "7bd4cc22-7682-4e45-85b3-29386b979d75",    "balance": [      {        "currency": "B2M",        "balance": 1000,        "blockedBalance": 1000      },      {        "currency": "EUR",        "balance": 100,        "blockedBalance": 200      }    ]  }}
{  "event": "unsubscribe",  "subscription": {    "name": "my-balance"  }}