获取未成交列表
HTTP请求 获取未成交和部分成交未撤单的订单
- POST /api/v2/trade/open-orders
权重(IP): 3, 权重(UID): 3
请求参数
| 参数名 | 参数类型 | 是否必须 | 描述 | 
|---|---|---|---|
| symbol | String | 是 | 币对,具体见:/products | 
| limit | Integer | 否 | 获取数量。必须大于0且小于等于100。 | 
| pageNo | Integer | 否 | 页码(从0开始,默认0) | 
请求示例
curl -X POST "https://api-spot.weex.com/api/v2/trade/open-orders" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*******" \
   -H "ACCESS-PASSPHRASE:*****" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json" \
   -d '{"symbol": "WXTUSDT_SPBL"}'
返回参数
| 字段名 | 类型 | 字段说明 | 
|---|---|---|
| accountId | String | 账户ID | 
| symbol | String | 交易对 | 
| orderId | String | 订单ID | 
| clientOrderId | String | 客户端订单ID | 
| price | String | 委托价格 | 
| quantity | String | 委托数量 | 
| orderType | String | 订单类型 | 
| side | String | 订单方向 | 
| status | String | 订单状态 | 
| latestFillPrice | String | 当前委托单最新成交价格 | 
| maxFillPrice | String | 当前委托单最高成交价格 | 
| minFillPrice | String | 当前委托单最低成交价格 | 
| fillQuantity | String | 成交数量 | 
| fillTotalAmount | String | 已成交总额 | 
| cTime | String | 创建时间 | 
| uTime | String | 更新时间 | 
返回示例
{
  "code": "00000",
  "msg": "success",
  "requestTime": 1743753174247,
  "data": {
    "orderInfoResultList": [{
      "accountId": "590105411156181178",
      "symbol": "WXTUSDT_SPBL",
      "orderId": "602941812964852154",
      "clientOrderId": "202504040742105191743752530280",
      "price": "100.000000",
      "quantity": "10",
      "orderType": "limit",
      "side": "sell",
      "status": "open",
      "latestFillPrice": "0",
      "maxFillPrice": "0",
      "minFillPrice": "0",
      "fillQuantity": "0",
      "fillTotalAmount": "0",
      "cTime": "1743752530328",
      "uTime": "1743752530334"
    }],
    "nextPage": null,
    "totals": null
  }
}