This topic sends the latest completed trade

market.$symbol$.trade.detail

Topic Parameter

ParameterData TypeRequiredDefault ValueDescriptionValue Range
symbolstringtrueNATrading symbolAll 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

FieldData TypeDescription
idintegerUnique trade id
amountfloatLast trade volume
pricefloatLast trade price
tsintegerLast trade time (UNIX epoch time in millisecond)
directionstringAggressive 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" }