Pushes updates for the latest candlestick of the subscribed interval. The push interval is 200 ms.
Supported kline intervals: 1m, 3m, 5m, 15m, 30m, 1H, 2H, 4H, 6H, 8H, 12H, 1D, 3D, 1W, 1M.
Channel name: <symbol>@kline_<interval>
Subscription example:
{"method":"SUBSCRIBE","params":["btcusdc@kline_1m"]}Response example:
{
"eventType": "kline",
"param": "btcusdc@kline_1m",
"action": "update",
"eventTime": 1778596012897,
"data": [
{
"openTime": 1778595960000,
"closeTime": 1778596019999,
"symbolId": "BTCUSDC",
"interval": "1m",
"firstId": 2213417774154692865,
"lastId": 2213418182705068289,
"open": "80771.6",
"close": "80724.9",
"high": "80782.3",
"low": "80724.9",
"volume": "0.0016",
"numTrades": 8,
"closed": false,
"quoteVolume": "129.22179",
"takerBuyVolume": "0.0006",
"takerBuyQuoteVolume": "48.45327"
}
]
}Field descriptions
| Field | Description |
|---|---|
openTime | Kline start time |
closeTime | Kline end time |
symbolId | Trading pair |
interval | Kline interval |
firstId | First trade ID during this kline period |
lastId | Last trade ID during this kline period |
open | First traded price during the kline period |
close | Last traded price during the kline period |
high | Highest traded price during the kline period |
low | Lowest traded price during the kline period |
volume | Trading volume during the kline period |
numTrades | Number of trades during the kline period |
closed | Whether the kline is closed |
quoteVolume | Trading turnover during the kline period |
takerBuyVolume | Taker buy volume |
takerBuyQuoteVolume | Taker buy quote volume |