Channel name : ticker
Description : Get the latest transaction price, buy price, sell price and 24-hour trading volume information of the product, push frequency 500ms~ 1s
Subscription requests :
{
"op": "subscribe",
"args": [
{
"instType": "SPOT",
"channel": "ticker",
"instId": "BTCUSDT"
}
]
}Push data format :
{
"action": "snapshot",
"arg": {
"instType": "SPOT",
"channel": "ticker",
"instId": "BTCUSDT"
},
"data": [
{
"instId": "BTCUSDT",
"lastPr": "89721.8",
"open24h": "90540.2",
"high24h": "91426.7",
"low24h": "87986.5",
"change24h": "-0.01321",
"bidPr": "89738.8",
"askPr": "89739.3",
"bidSz": "0.01183",
"askSz": "0.01243",
"baseVolume": "0.61829",
"quoteVolume": "55683.20390",
"openUtc": "88427.9",
"changeUtc24h": "0.01463",
"ts": "1768979090882"
}
]
}Field description :
| Field | Type | Explanation |
|---|---|---|
| instId | String | Product ID, such as BTCUSDT |
| lastPr | String | Latest transaction price |
| open24h | String | Opening price in 24-Hour slide time window |
| high24h | String | Highest price in 24-Hour slide time window |
| low24h | String | Lowest price in 24-Hour slide time window |
| change24h | String | 24-Hour price change rate. 0.01 means 1% |
| bidPr | String | Best bid price |
| askPr | String | Best ask price |
| bidSz | String | The aggregate order quantity at the best bid price in the current order book. |
| askSz | String | The aggregate order quantity at the best ask price in the current order book. |
| baseVolume | String | 24h volume in base asset |
| quoteVolume | String | 24h volume in quote asset |
| openUtc | String | Opening price at UTC 00:00:00 |
| changeUtc24h | String | Price change rate from UTC 00:00:00. 0.01 means 1% |
| ts | String | Snapshot timestamp(milliseconds) |
