Skip to content

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

JSON
{
  "op":"sub",
  "channel": "trade",
  "symbol": "BTC-USDT"
}

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

Return Example

JSON
{
  "channel": "trade",
  "symbol": "BTC-USDT",
  "id": 17592256642623,
  "amount": "0.04",
  "price": 1997,
  "direction": "buy",
  "time": 1502448920106,
  "ts": 1502448920106
}