Skip to main content

Trade (422)

Channel trade, event <PAIR> (for example BTCUSDT). One message per execution.

Subscribe with message type 151.

[422, {
"type": 422, "channel": "trade", "event": "BTCUSDT",
"D": "1790168707937", "I": "101963842125958698",
"A": "0.01170258", "P": "85400", "PS": "BTCUSDT", "S": 0
}]
CodeMeaning
DTimestamp, milliseconds since epoch (string)
ITrade id (string)
AAmount
PPrice
PSPair symbol
SSide - 0 buy, 1 sell

A and P carry up to 10 decimal places, and A is always positive regardless of side.

S is the taker's side: buy means the buyer took liquidity. Get Trades uses the same convention.