Ticker
Subscription Example
{
"op": "sub",
"ts": 1780372400759,
"tid": "tick-sub-1",
"tps": [{
"t": "tick",
"ch": "linear",
"p": { "pairs": ["SOLUSDT"] }
}]
}
Subscription Parameters (p)
| Field | Type | Required |
|---|---|---|
pairs | array[string] | Yes |
Push Fields (data)
i, m, f, pf, fi, nf, oi are futures-specific fields. Optional fields with no value will be omitted.
| Field | Full Name | Description |
|---|---|---|
| s | symbol | Trading pair |
| p | lastPrice | Last price |
| t | timestamp | Update time (milliseconds) |
| c | price24hPcnt | 24h price change percentage |
| o | openPrice24h | 24h opening price |
| h | highPrice24h | 24h highest price |
| l | lowPrice24h | 24h lowest price |
| v | volume24h | 24h trading volume |
| tv | turnover24h | 24h trading amount |
| bp1 / bz1 / ap1 / az1 | — | Best Bid/Ask Price and Quantity |
| i | indexPrice | Index price |
| m | markPrice | Mark price |
| f | fundingRate | Current funding rate |
| pf | predictedFundingRate | Predict funding rate |
| fi | fundingRateInterval | Funding rate interval (per hour) |
| nf | nextFundingTime | next settlement time (milliseconds) |
| oi | openInterest | position volume |
Push Example
{
"ts": 1780372401000,
"tps": {
"t": "tick",
"ch": "linear",
"p": { "pairs": ["SOLUSDT"] }
},
"data": {
"s": "SOLUSDT",
"p": "65000.1",
"t": 1780372401000,
"c": "0.0123",
"o": "64000",
"h": "66000",
"l": "63000",
"v": "12345.67",
"tv": "800000000",
"bp1": "65000.0",
"bz1": "1.5",
"ap1": "65000.2",
"az1": "0.8",
"i": "64999.5",
"m": "65000.1",
"f": "0.0001",
"pf": "0.00008",
"fi": 8,
"nf": 1780376400000,
"oi": "123456.78"
}
}