Ticker Subscription
Subscribe to 24-hour market statistics for futures, pushed every second.
Subscription Format
{symbol}@ticker
Subscribe Request
{"action": "subscribe", "streams": ["BTCUSDT@ticker"]}
Push Fields
| Field | Type | Description |
|---|---|---|
| event | string | Event type, fixed as data |
| stream | string | Subscribed stream |
| channel | string | Channel, fixed as ticker |
| data.symbol | string | Futures trading pair |
| data.lastPrice | string | Last trade price |
| data.priceChange | string | 24h price change (absolute) |
| data.priceChangePercent | string | 24h change percent |
| data.high24h | string | 24h high |
| data.low24h | string | 24h low |
| data.volume24h | string | 24h volume |
| data.timestamp | int64 | Data timestamp (milliseconds) |
| timestamp | int64 | Push timestamp (milliseconds) |
Push Example
{
"event": "data",
"stream": "BTCUSDT@ticker",
"channel": "ticker",
"timestamp": 1736163000000,
"data": {
"symbol": "BTCUSDT",
"lastPrice": "68620.5",
"priceChange": "1120.5",
"priceChangePercent": "1.66",
"high24h": "69200.5",
"low24h": "67200.0",
"volume24h": "1250.85",
"timestamp": 1736163000000
}
}
Notes
- Push frequency is once per second
- Price and quantity fields are string type