Skip to main content

Pair Ticker (402)

Channel ticker, event <PAIR> (for example BTCUSDT). Same fields as one entry of All Tickers, but flattened into the payload itself rather than nested in a list. Ord is not included. Pushed about every 750 ms, even when nothing has changed.

Subscribe with message type 151.

[402, {
"type": 402, "channel": "ticker", "event": "BTCUSDT",
"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"
}]
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

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).