Klines

{
  "type": "message",
  "topic": "/market/candles:BTC-USDT_1hour",
  "subject": "trade.candles.update",
  "data": {
    "symbol": "BTC-USDT", // symbol
    "candles": [
      "1589968800", // Start time of the candle cycle
      "9786.9", // open price
      "9740.8", // close price
      "9806.1", // high price
      "9732", // low price
      "27.45649579", // Transaction volume
      "268280.09830877" // Transaction amount
    ],
    "time": 1589970010253893337 // now(us)
  }
}

Topic: /market/candles:{symbol}_{type}

  • Push frequency: real-time
Param Description
symbol symbol
type 1min, 3min, 15min, 30min, 1hour, 2hour, 4hour, 6hour, 8hour, 12hour, 1day, 1week

Subscribe to this topic to get K-Line data.