Skip to main content

Kline/Candlestick Streams

Stream Description#

The Kline/Candlestick Stream push updates to the current klines/candlestick every 250 milliseconds (if existing).

Kline/Candlestick chart intervals: m -> minutes; h -> hours; d -> days; w -> weeks; M -> months

  • 1m
  • 3m
  • 5m
  • 15m
  • 30m
  • 1h
  • 2h
  • 4h
  • 6h
  • 8h
  • 12h
  • 1d
  • 3d
  • 1w
  • 1M

Stream Name#

<symbol>@kline_<interval>

e.g. "btcusd_200626@kline_1m"

Update Speed#

250ms

Response Example#

{  "e":"kline",              // Event type  "E":1591261542539,        // Event time  "s":"BTCUSD_200626",      // Symbol  "k":{    "t":1591261500000,      // Kline start time    "T":1591261559999,      // Kline close time    "s":"BTCUSD_200626",    // Symbol    "i":"1m",               // Interval    "f":606400,             // First trade ID    "L":606430,             // Last trade ID    "o":"9638.9",           // Open price    "c":"9639.8",           // Close price    "h":"9639.8",           // High price    "l":"9638.6",           // Low price    "v":"156",              // volume    "n":31,                 // Number of trades    "x":false,              // Is this kline closed?    "q":"1.61836886",       // Base asset volume    "V":"73",               // Taker buy volume    "Q":"0.75731156",       // Taker buy base asset volume    "B":"0"                 // Ignore  }}