跳到主要内容

查询单个订单

类型: GET

接口: /spot/v4/order/{orderId}

限流规则

10次/秒/apikey

参数

参数名类型是否必填默认值描述
orderIdnumber订单ID

响应示例

响应
{
"rc": 0,
"mc": "string",
"ma": [{}],
"result": {
"symbol": "BTC_USDT",
"orderId": "6216559590087220004",
"clientOrderId": "16559590087220001",
"baseCurrency": "string",
"quoteCurrency": "string",
"side": "BUY", // 订单方向:BUY(买入), SELL(卖出)
"type": "LIMIT", // 订单类型:LIMIT(限价), MARKET(市价)
"timeInForce": "GTC", // 有效方式:GTC, IOC, FOK, GTX
"price": "40000",
"origQty": "2", // 原始数量
"origQuoteQty": "48000", // 原始金额
"executedQty": "1.2", // 已成交数量
"leavingQty": "string", // 待成交数量(如已取消/拒绝则为0)
"tradeBase": "2", // 成交数量
"tradeQuote": "48000", // 成交金额
"avgPrice": "42350", // 平均成交价
"fee": "string", // 手续费
"feeCurrency": "string",
"state": "NEW", // 订单状态:NEW(新建), PARTIALLY_FILLED(部分成交), FILLED(完全成交), CANCELED(已取消), REJECTED(已拒绝), EXPIRED(已过期)
"time": 1655958915583, // 下单时间
"updatedTime": 1655958915583
}
}