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

# Market Streams

> Public WebSocket market streams provide real-time order books, trades, prices, and statistics on WhiteBIT.

Browse the available public 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).

<CardGroup cols={2}>
  <Card title="Service" icon="circle-check" href="/websocket/market-streams/service">
    Check API service status and health
  </Card>

  <Card title="Kline" icon="chart-candlestick" href="/websocket/market-streams/kline">
    Subscribe to candlestick (OHLCV) data for markets
  </Card>

  <Card title="Last price" icon="dollar-sign" href="/websocket/market-streams/lastprice">
    Real-time last traded price updates for markets
  </Card>

  <Card title="Market statistics" icon="chart-line" href="/websocket/market-streams/market">
    24-hour market statistics including volume and price changes
  </Card>

  <Card title="Market statistics for current day UTC" icon="calendar-day" href="/websocket/market-streams/market-today">
    Current day market statistics based on UTC timezone
  </Card>

  <Card title="Market trades" icon="arrow-right-arrow-left" href="/websocket/market-streams/trades">
    Stream of recent trades executed on the market
  </Card>

  <Card title="Market depth" icon="layer-group" href="/websocket/market-streams/depth">
    Order book depth updates with bids and asks
  </Card>

  <Card title="Book Ticker" icon="bookmark" href="/websocket/market-streams/book-ticker">
    Best bid and ask prices in the order book
  </Card>
</CardGroup>

## Managing subscriptions

Each subscribe request defines the complete set of markets for that channel on the connection. A new subscribe **replaces** the channel's previous subscription rather than adding to it — the server does not merge incremental subscribes.

* **Add a market** — resubscribe with the full target list, including the markets you are already receiving.
* **Remove a market** — resubscribe with the reduced list. There is no per-market unsubscribe; sending the channel's unsubscribe method with an empty `params` array clears the whole subscription.
* **Manage markets independently** — a connection holds one subscription per channel. To add or drop markets without touching the others, place them on separate connections. Weigh the connection limit and added latency described in [WebSocket Rate Limits](/websocket/rate-limits).

On channels that send an initial snapshot on subscribe — such as [Market Trades](/websocket/market-streams/trades), which replays up to 100 of the latest trades per market — resubscribing to add or remove a market backfills the markets carried into the new list. Deduplicate by record `id` to handle the replayed snapshot.
