All Tickers (401)
Channel ticker, event all. Pushed about every 750 ms, even when nothing has changed, carrying every pair in one message.
Subscribe with message type 151.
[401, {
"type": 401,
"channel": "ticker",
"event": "all",
"items": [
{
"PS": "BTCUSDT", "NS": "BTC", "DS": "USDT", "PId": 19,
"B": "85391", "A": "85420", "BA": "0.00292756", "AA": "0.0983193",
"LA": "85417", "H": "87232", "L": "85274", "O": "86140",
"V": "12.97543029", "AV": "86325.652885850000",
"D": "-720", "DP": "-0.84", "Ord": 0
}
]
}]
Each entry of items carries these codes:
| Code | Meaning |
|---|---|
PS | Pair symbol |
NS | Numerator (base) symbol |
DS | Denominator (quote) symbol |
PId | Pair id |
B | Best bid |
A | Best ask |
BA | Best bid amount |
AA | Best ask amount |
LA | Last price |
H | 24h high |
L | 24h low |
O | Open |
V | Volume |
AV | Average price |
D | Daily change |
DP | Daily change percent |
Ord | Display order |
A pair appears only once the server has a ticker for it. Prices and amounts are sent as strings:
V always has 8 decimals, AV 12 and DP 2, and the other values have no trailing zeros. Zero values
are sent as "0", or with the field's fixed decimals (for example "0.00" for DP).
For a single pair, subscribe to Pair Ticker instead - it carries the same fields without the surrounding list.