Public-Ticker Channel
Get the latest price, bid price, ask price and 24-hour trading volume
Pushing Rules
- No user login required
- After subscribing, the current data will be returned directly, and then the changes will be pushed
Example
Request
{"op": "subscribe", "args": ["spot/ticker:BTC_USDT"]}
spot/ticker
is the channel name, BTC_USDT
is the trading pair
Response
(Note: This data is displayed after decompression, Refer to Data Compression for details)
{
"table":"spot/ticker",
"data":[
{
"symbol":"BTC_USDT",
"last_price":"146.24",
"open_24h":"147.17",
"high_24h":"147.48",
"low_24h":"143.88",
"base_volume_24h":"117387.58",
"s_t": 1610936002
}
]
}
Return Parameter Description:
Parameter | Type | Description |
---|---|---|
symbol | string | Trading pair, BTC_USDT |
last_price | string | Last trading price |
high_24h | string | 24-hour highest price |
low_24h | string | 24-hour lowest price |
open_24h | string | 24-hour open price |
base_volume_24h | string | 24-hour volume in base currency |
s_t | long | timestamp (in seconds) |