description |
Subscribe to this topic to receive notifications about new trades for specific trading pairs. |
- Topic name:
trade
- ApiKey required: No
Value |
Note |
104109 |
Invalid topic or parameters |
{
"topic": {
"topic": "trade",
"market": "LRC-ETH"
},
"ts": 1584717910000,
"data": [
[
"1584717910000", //timestamp
"123456789", //tradeId
"buy", //side
"500000", //size
"0.0008", //price
"100" //fee
]
]
}
Notification
Field | Type | Note | Required |
---|
topic | JSON | Topic and parameters | Y |
ts | integer | Notification timestamp (milliseconds) | Y |
data | List[List[string]] | Trade array list | Y |
Trade
Index | Type | Note | Required |
---|
1 | integer | Trade timestamp | Y |
2 | integer | Fill sequence number | Y |
3 | string | Taker's side (buy or sell) | Y |
4 | string | Filled amount of base token | Y |
5 | string | Fill price | Y |
6 | string | Fee paid in base token | Y |