Skip to main content

Kline/Candlestick Streams

Type: NONE

WS kline:<symbol>:<interval>

Status: Implemented. Binance equivalent: <symbol>@kline_<interval>.

Subscribe

{ "type": "subscribe", "channel": "kline:BTCUSDT:1m" }

interval1m 5m 15m 1h 4h 1d 1w 1M (the natively stored buckets; the REST-only aliases such as 3m are not accepted here).

Snapshot on subscribe

{
"type": "kline_snapshot",
"channel": "kline:BTCUSDT:1m",
"data": {
"time": 1741298400,
"open": "97450.00",
"high": "97600.00",
"low": "97400.00",
"close": "97520.00",
"volume": "45.30",
"quote_volume": "4415000.00",
"trade_count": 120,
"is_final": true
}
}

Updates

{ "type": "kline", "channel": "kline:BTCUSDT:1m", "data": { "...": "same shape", "is_final": false } }
FieldNotes
timeBar open time in Unix seconds (REST /fapi/v1/klines uses ms)
is_finalfalse while the bar is still forming
quote_volume, trade_countOmitted when unknown