This topic sends the latest completed trade
market.$symbol$.trade.detail
Topic Parameter
Parameter | Data Type | Required | Default Value | Description | Value Range |
---|---|---|---|---|---|
symbol | string | true | NA | Trading symbol | All supported trading symbols, e.g. btcusdt, bccbtc |
{
"sub": "market.btcusdt.trade.detail",
"id": "id1"
}
{
"id": "id1",
"status": "ok",
"subbed": "market.btcusdt.trade.detail",
"ts": 1489474081631
}
Update Content
Field | Data Type | Description |
---|---|---|
id | integer | Unique trade id |
amount | float | Last trade volume |
price | float | Last trade price |
ts | integer | Last trade time (UNIX epoch time in millisecond) |
direction | string | Aggressive order side (taker's order side) of the trade: 'buy' or 'sell' |
{
"ch": "market.btcusdt.trade.detail",
"ts": 1489474082831,
"tick": {
"id": 14650745135,
"ts": 1533265950234,
"data": [
{
"amount": 0.0099,
"ts": 1533265950234,
"id": 146507451359183894799,
"price": 401.74,
"direction": "buy"
}
// more Trade Detail data here
]
}
}
Pull Request
Pull request is supported.
{
"req": "market.btcusdt.trade.detail",
"id": "id11"
}