Tickers
The 24-hr statistics of a trading pair.
Push frequency: real-time
Topic: tickers.{symbol}
Response Parameters
Parameter | Type | Comments |
---|---|---|
topic | string | Topic name |
ts | number | The timestamp (ms) that message is sent out |
type | string | Data type. snapshot |
data | array | Object |
> t | long | Timestamp (trading time in the match box) |
> s | string | Trading pair |
> o | string | Open price |
> h | string | High price |
> l | string | Low price |
> c | string | Close price |
> v | string | Trading volume |
> qv | string | Trading quote volume |
> m | string | Change |
> xp | string | USD index price. It can be empty |
Request Example
{
"req_id": "ticker00001", //optional
"op": "subscribe",
"args": [
"tickers.BTCUSDT"
]
}
Response Example
{
"topic": "tickers.BTCUSDT",
"ts": 1673853966002,
"type": "snapshot",
"data": {
"t": 1673853957769,
"s": "BTCUSDT",
"c": "21097.53",
"h": "21426.99",
"l": "20575",
"o": "20705.31",
"v": "6786.96571",
"qv": "142076886.7193882",
"m": "0.0189",
"xp": "21109.48012482"
}
}