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