欢迎使用全新的 WEEX API 文档。需要查看旧版本?切换到旧版文档
WEEX

查询订单详情 (USER_DATA)

  • GET /capi/v3/order

权重(IP): 2

请求参数

参数名类型是否必填说明
orderIdLong是目标订单 ID。
请求示例
PowerShellCode
curl "https://api-contract.weex.com/capi/v3/order?orderId=702345678901234567" \ -H "ACCESS-KEY:*******" \ -H "ACCESS-SIGN:*******" \ -H "ACCESS-PASSPHRASE:*****" \ -H "ACCESS-TIMESTAMP:1659076670000" \
返回参数
参数名类型说明
avgPriceString平均成交价。
clientOrderIdString客户自定义订单号。
cumQuoteString已成交计价资产数量。
executedQtyString已成交基础资产数量。
orderIdLong系统订单 ID。
origQtyString原始下单数量。
priceString下单价格。
reduceOnlyBoolean是否仅减仓。
sideString买卖方向,取值见订单方向。
positionSideString持仓方向,取值见持仓模式。
statusString订单状态,取值见订单状态。
stopPriceString触发价/止损价(如适用)。
symbolString交易对。
timeLong下单时间(毫秒)。
timeInForceString有效方式,取值见时间有效方式。
typeString订单类型,取值见订单类型。
updateTimeLong最近更新时间(毫秒)。
workingTypeString触发价类型,取值见触发价格类型。
返回示例
JSONCode
{ "avgPrice": "68990.5", "clientOrderId": "my-order-0001", "cumQuote": "689.905", "executedQty": "0.01", "orderId": 702345678901234567, "origQty": "0.01", "price": "69000", "reduceOnly": false, "side": "BUY", "positionSide": "LONG", "status": "FILLED", "stopPrice": "0", "symbol": "BTCUSDT", "time": 1764505700123, "timeInForce": "GTC", "type": "LIMIT", "updateTime": 1764505701456, "workingType": "CONTRACT_PRICE" }