WS / Trade Channel
Address/ws/v1/market
Channel Name
trade
Submission Parameters
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
op | Yes | string | sub | Operation, sub: subscribe unsub: unsubscribe |
channel | Yes | string | trade | Channel Name |
symbol | Yes | string | BTC-USDT | Trading pair name |
Submission Example
Return Parameters
Parameter Name | Required | Type | Example | Description |
---|---|---|---|---|
channel | Yes | string | trade | Channel Name |
symbol | Yes | string | BTC-USDT | Trading pair |
id | Yes | long | 17592256642623 | Transaction id |
amount | Yes | string | 0.04 | Transaction Amount |
price | Yes | number | 1997 | Transaction Price |
direction | Yes | string | buy | buy: buy, sell: sell |
time | Yes | number | 1502448920106 | Transaction time (timestamp in milliseconds) |
ts | Yes | long | 1597026383085 | Data generation time, millisecond timestamp |