Topic: /contractMarket/limitCandle:{symbol}_{type}#
Subscribe to this topic to get K-Line data. If there is no change in the market, data will not be pushedThe 'type' in the topic is to get the kline granuarity and can have following values:
1min, 3min, 5min, 15min, 30min, 1hour, 2hour, 4hour, 8hour, 12hour, 1day, 1week, 1month
Subscribe Message#
{
"id": 1545910660739,
"type": "subscribe",
"topic": "/contractMarket/limitCandle:XBTUSDTM_1min,ETHUSDTM_1min",
"response": true
}
Response#
Example{
"topic": "/contractMarket/limitCandle:XBTUSDTM_1min",
"type": "message",
"data": {
"symbol": "XBTUSDTM",
"candles": [
"1731898200",
"90638.6",
"90638.6",
"90638.6",
"90638.6",
"21.0",
"21"
],
"time": 1731898208357
},
"subject": "candle.stick"
}