> ## 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.

# Account Streams

> Private WebSocket account streams provide real-time access to balances, orders, deals, and positions on WhiteBIT.

Browse the available private WebSocket channels below. For connection details and message format, see the [WebSocket Overview](/websocket/overview). For rate limits, see [WebSocket Rate Limits](/websocket/rate-limits).

## Order types

Several Account Stream channels return a `type` field identifying the order type. Use this table to interpret the value.

| ID  | Description                     |
| --- | ------------------------------- |
| 1   | Limit                           |
| 2   | Market                          |
| 202 | Market [stock](/glossary#stock) |
| 3   | Stop limit                      |
| 4   | Stop market                     |
| 7   | Margin limit                    |
| 8   | Margin market                   |
| 9   | Margin stop limit               |
| 10  | Margin stop market              |
| 14  | Margin normalization            |

## Channels

<CardGroup cols={2}>
  <Card title="Authorize" icon="key" href="/websocket/account-streams/authorize">
    Authenticate the WebSocket connection to access private channels
  </Card>

  <Card title="Balance Spot" icon="wallet" href="/websocket/account-streams/balance-spot">
    Real-time spot balance updates for the account
  </Card>

  <Card title="Balance Margin" icon="scale-balanced" href="/websocket/account-streams/balance-margin">
    Real-time margin balance updates for the account
  </Card>

  <Card title="Orders Pending" icon="clock" href="/websocket/account-streams/orders-pending">
    Stream of pending (open) orders and their updates
  </Card>

  <Card title="Orders Executed" icon="circle-check" href="/websocket/account-streams/orders-executed">
    Stream of executed orders and their updates
  </Card>

  <Card title="Deals" icon="handshake" href="/websocket/account-streams/deals">
    Real-time deal execution notifications
  </Card>

  <Card title="Positions" icon="chart-line-up" href="/websocket/account-streams/positions">
    Real-time position updates for margin trading
  </Card>

  <Card title="Margin Positions Events" icon="bell" href="/websocket/account-streams/margin-positions-events">
    Event notifications for margin position changes
  </Card>

  <Card title="Borrows" icon="money-bill-transfer" href="/websocket/account-streams/borrows">
    Real-time borrow status updates for margin trading
  </Card>

  <Card title="Borrows Events" icon="bell-exclamation" href="/websocket/account-streams/borrows-events">
    Event notifications for borrow changes and liquidations
  </Card>
</CardGroup>
