跳至主要内容

個人成交

訂閱個人成交的推送

覆蓋範圍: USDT永續, 反向合約

推送頻率: 實時

Topic: user.execution.contractAccount

響應參數

參數類型說明
topicstringTopic名
dataarrayObject
> symbolstring合約名稱
> sidestring方向. Buy,Sell
> execIdstring成交ID
> feeRatestring手續費率
> execFeestring交易手續費
> execPricestring成交價格
> execQtystring成交數量
> leavesQtystring剩餘委託未成交數量
> execTypestring交易類型
> execValuestring成交價值
> lastLiquidityIndstring流動性標識. AddLiquidity,RemovedLiquidity
> orderIdstring訂單ID
> orderLinkIdstring用戶自定義訂單ID
> orderPricestring訂單價格
> orderQtystring訂單數量
> orderTypestring訂單類型. Market,Limit
> stopOrderTypestring條件單類型. 若不是條件單,則不會返回任何類型
> execTimestring交易時間戳 (毫秒)
> closedSizestring平倉數量
> blockTradeIdstringParadigm大宗商品交易ID
> markPricestring標記價格

推送示例

{
"topic": "user.execution.contractAccount",
"data": [
{
"symbol": "ETHUSDT",
"execFee": "0.1017888",
"execId": "8b4b2e8c-caa1-5fde-be59-d483166885e7",
"execPrice": "1696.48",
"execQty": "0.1",
"execType": "Trade",
"execValue": "169.648",
"feeRate": "0.0006",
"lastLiquidityInd": "RemovedLiquidity",
"leavesQty": "0",
"orderId": "cd2f6f95-8031-4272-9339-e7054ff56567",
"orderLinkId": "",
"orderPrice": "1781.09",
"orderQty": "0.1",
"orderType": "Market",
"stopOrderType": "UNKNOWN",
"side": "Buy",
"execTime": "1676885237382",
"closedSize": "0",
"blockTradeId": "",
"markPrice": "1696.25"
}
]
}