Skip to main content

Tickers

The 24-hr statistics of a trading pair.

Push frequency: real-time

Topic: tickers.{symbol}

Response Parameters

ParameterTypeComments
topicstringTopic name
tsnumberThe timestamp (ms) that message is sent out
typestringData type. snapshot
dataarrayObject
> tlongTimestamp (trading time in the match box)
> sstringTrading pair
> ostringOpen price
> hstringHigh price
> lstringLow price
> cstringClose price
> vstringTrading volume
> qvstringTrading quote volume
> mstringChange
> xpstringUSD 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"
}
}