跳至主要内容

單筆查詢

GET

/az/spot/order

請求參數​

參數類型是否必須默認值描述取值範圍
orderIdnumberfalse訂單ID
clientOrderIdstringfalse客戶端訂單號

Response

{
"rc": 0,
"mc": "string",
"ma": [
{}
],
"result": {
"symbol": "BTC_USDT", //交易對
"orderId": "6216559590087220004", //訂單號
"clientOrderId": "16559590087220001", //客戶端訂單號
"rfq": false, //是否RFQ訂單
"baseCurrency": "string", //標的幣種
"quoteCurrency": "string", //報價幣種
"side": "BUY", //訂單方向 BUY-買,SELL-賣
"type": "LIMIT", //訂單類型 LIMIT-限價,MARKET-市價
"timeInForce": "GTC", //有效方式 GTC,IOC,FOK,GTX,GTX_SELF_CANCEL
"price": "40000", //價格
"origQty": "2", //原始數量
"origQuoteQty": "48000", //原始金額
"executedQty": "1.2", //已執行數量
"leavingQty": "string", //待執行數量(若撤單或下單拒絕,該值爲0)
"tradeBase": "2", //成交標的(成交數量)
"tradeQuote": "48000", //成交報價(成交金額)
"avgPrice": "42350", //成交均價
"fee": "string", //手續費
"feeCurrency": "string", //手續費幣種
"nftId": "string", //nft id
"symbolType": "normal", //交易對類型
"origRestFee": "string", //原幣種剩餘未抵扣的手續費(含抵扣券抵扣部分)
"origFeeCurrency": "string", //原幣種剩餘未抵扣手續費的幣種
"platFormCurrencyFee": "string", //平臺幣抵扣費用(如xt)
"platFormCurrency": "string", //平臺幣
"couponAmount": "string", //抵扣券使用額度
"couponCurrency": "string", //抵扣券幣種
"couponDeductFee": "string", //抵扣券抵扣掉的(原幣種)手續費數量
"closed": false, //是否關閉
"state": "NEW", //訂單狀態 NEW-新建,PARTIALLY_FILLED-部分成交,FILLED-全部成交,CANCELED-用戶撤單,REJECTED-下單失敗,EXPIRED-過期(time_in_force撤單或溢價撤單)
"time": 1655958915583, //訂單時間
"updatedTime": 1655958915583 //訂單更新時間
}
}