跳到主要内容

单笔查询

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 //订单更新时间
}
}