Skip to main content

Mark Price Kline/Candlestick Streams

Stream Description#

Mark Price Kline/Candlestick Streams

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>@markPriceKline_<interval>

e.g. "btcusd_200626@markPriceKline_1m"

Update Speed#

250ms

Response Example#

{  "e":"markPrice_kline",        // Event Name  "E":1591267398004,            // Event Time  "ps":"BTCUSD",                // Pair  "k":{    "t":1591267380000,          // Kline start time    "T":1591267439999,          // Kline close time    "s":"BTCUSD_200626",        // Symbol    "i":"1m",                   // Interval    "f":1591267380000,          // ignore    "L":1591267398000,          // ignore    "o":"9539.67161333",        // Open price    "c":"9540.82761333",        // Close price    "h":"9540.82761333",        // High price    "l":"9539.66961333",        // Low price    "v":"0",                    // ignore    "n":19,                     // Number of basic data    "x":false,                  // Is this kline closed?    "q":"0",                    // ignore    "V":"0",                    // ignore    "Q":"0",                    // ignore    "B":"0"                     // ignore  }}