Skip to main content

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:

CodeMeaning
PSPair symbol
NSNumerator (base) symbol
DSDenominator (quote) symbol
PIdPair id
BBest bid
ABest ask
BABest bid amount
AABest ask amount
LALast price
H24h high
L24h low
OOpen
VVolume
AVAverage price
DDaily change
DPDaily change percent
OrdDisplay 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.