Browse the available private WebSocket channels below. For connection details and message format, see the WebSocket Overview. For rate limits, see WebSocket Rate Limits.Documentation Index
Fetch the complete documentation index at: https://docs.whitebit.com/llms.txt
Use this file to discover all available pages before exploring further.
Order types
Several Account Stream channels return atype field identifying the order type. Use this table to interpret the value.
| ID | Description |
|---|---|
| 1 | Limit |
| 2 | Market |
| 202 | Market stock |
| 3 | Stop limit |
| 4 | Stop market |
| 7 | Margin limit |
| 8 | Margin market |
| 9 | Margin stop limit |
| 10 | Margin trigger-stop market |
| 14 | Margin normalization |
Channels
Authorize
Authenticate the WebSocket connection to access private channels
Balance Spot
Real-time spot balance updates for the account
Balance Margin
Real-time margin balance updates for the account
Orders Pending
Stream of pending (open) orders and their updates
Orders Executed
Stream of executed orders and their updates
Deals
Real-time deal execution notifications
Positions
Real-time position updates for margin trading
Margin Positions Events
Event notifications for margin position changes
Borrows
Real-time borrow status updates for margin trading
Borrows Events
Event notifications for borrow changes and liquidations