成交記錄
{
"id": 1545910660741,
"type": "subscribe",
"topic": "/contractMarket/execution:XBTUSDTM",
"response": true
}
{
"topic": "/contractMarket/execution:XBTUSDTM",
"type": "message",
"subject": "match",
"sn": 1743169228057,
"data": {
"symbol": "XBTUSDTM", // 合約
"sequence": 1743169228057, // 序列號,遞增不一定連續
"side": "buy", // taker的方向
"size": 5, // 成交數量
"price": "72137.3", // 成交價格
"takerOrderId": "166754573174730752", // taker方訂單ID
"makerOrderId": "166754559966867456", // maker方訂單ID
"tradeId": "1743169228057",// 交易號
"ts": 1712570590399000000 // 成交時間 - 納秒
}
}
Topic:/contractMarket/execution:{symbol}
每撮合一筆訂單,系統就會按照如下格式向您推送消息: