Channel name : trade
Description : Retrieve up to 100 of the most recent trade executions, with real-time pushes whenever new trades occur.
Subscription requests :
{
"op": "subscribe",
"args": [
{
"instType": "SPOT",
"channel": "trade",
"instId": "BTCUSDT"
}
]
}Push data format :
{
"action": "snapshot",
"arg": {
"instType": "SPOT",
"channel": "trade",
"instId": "BTCUSDT"
},
"data": [
{
"ts": "1768981361893",
"price": "89236.3",
"size": "0.00036",
"side": "buy",
"tradeId": "1397774630114324481"
},
{
"ts": "1768981351576",
"price": "89235.4",
"size": "0.00035",
"side": "sell",
"tradeId": "1397774586841690113"
}
]
}Field description :
| Field | Type | Explanation |
|---|---|---|
| ts | String | Transaction timestamp in match engine (milliseconds) |
| price | String | Trade price |
| size | String | Quantity of base asset |
| side | String | Order side of the taker: buy/sell |
| tradeId | String | Transaction ID |
