Skip to main content

Kline

Topic Format

<symbol>@kline@<interval>

  • symbol: The trading pair symbol (e.g., ETH_USDT).
  • interval: Interval Name.

Example Topic: ETH_USDT@kline@1m


Message Structure

Fields

FieldTypeDescription
etint32Event type (6 for Kline data).
sstringSymbol name (e.g., ETH_USDT).
istringInterval Name.
ostringOpen price.
hstringHigh price.
lstringLow price.
cstringClose price.
bstringBase volume.
qstringQuote volume.
tstringStart time of the candlestick (timestamp).
ustringUpdated time of the candlestick (timestamp).

Example Message

{
"et": 6,
"s": "ETH_USDT",
"i": "1m",
"o": "2.0000000",
"h": "2.0000000",
"l": "2.0000000",
"c": "2.0000000",
"b": "0.000",
"q": "0.00000000",
"t": "1720759380000",
"u": "1720759380000"
}