> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ekiden.fi/llms.txt
> Use this file to discover all available pages before exploring further.

# Market Data

### **Sources**

* REST: see API Reference for `/api/v1/market/*` endpoints (kline, recent-trades, tickers, funding-rate)
* WebSocket (real-time):
  * Public: `wss://api.cnt.ekiden.fi/ws/public`
  * Private: `wss://api.cnt.ekiden.fi/ws/private` (requires JWT auth)

### **Common Subscriptions**

* Orderbook snapshots and deltas: `orderbook.<depth>.<symbol>` (e.g., `orderbook.1.BTC-USDCx`)
* Trades (aggregated): `trade.<symbol>`
* Ticker snapshots: `ticker.<symbol>`
* Klines (candlesticks): `kline.<interval>.<symbol>`
* Liquidations: `all_liquidations.<symbol>`
* Insurance pool snapshots: `insurance_pool.<symbol>`
* ADL alerts: `adl_alert.<symbol>`
* Private user streams (on private WS after auth): `order`, `position`, `execution`, `account_balance`

### Timestamps

* Ticker snapshots use `ts` in milliseconds.
* WS ping/pong use milliseconds for `client_ts`/`server_ts`.
* WS event envelope uses `server_ts_ms` in milliseconds.
* See Conventions → Timestamps for the full matrix.
