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
Field | Type | Description |
---|---|---|
et | int32 | Event type (6 for Kline data). |
s | string | Symbol name (e.g., ETH_USDT ). |
i | string | Interval Name. |
o | string | Open price. |
h | string | High price. |
l | string | Low price. |
c | string | Close price. |
b | string | Base volume. |
q | string | Quote volume. |
t | string | Start time of the candlestick (timestamp). |
u | string | Updated 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"
}