Funding
My balance
The user's balances each time one changes.
WSS
wss://ws.bit2me.com/v1/tradingmy-balanceStreams 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
Value
subscribesubscription*object
Show propertiesHide properties
name*string
Value
my-balanceUpdate
The user's balances each time one changes.
The user's trading balances.
event*string
Value
my-balancedata*object
Show propertiesHide properties
userId?string
Format
uuidbalance?object[]
Show propertiesHide properties
currency?string
Match
^[A-Z0-9]+$Example
EURbalance?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
Value
unsubscribesubscription*object
Show propertiesHide properties
name*string
Value
my-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" }}