跳到主要内容

成交记录

Subscribe / Unsubscribe

Subscribe / Unsubscribe
{
"method": "SUBSCRIBE/UNSUBSCRIBE",
"params": ["trade@{ListenKey}"],
"id": "{id}"
}

Response example

Response example
{
"topic": "trade",
"event": "trade@123456",
"data": {
"orderId": "12312312", // order ID
"clientOrderId": "123456", // client order ID
"price": "34244", // price
"quantity": "123", // quantity
"marginUnfrozen": "123", // unfrozen margin amount
"timestamp": 1731231231, // timestamp
"symbol": "btc_usdt", // symbol
"orderSide": "BUY", // order side
"positionSide": "LONG", // position side
"isMaker": true, // whether maker (true=maker, false=taker)
"fee": 0.0002 // fee
}
}