Get Current Orders
HTTP request Fetch open orders (unfilled and partially filled)
- POST /api/v2/trade/open-orders
Weight(IP): 3, Weight(UID): 3
Request parameters
| Parameter | Parameter type | Required? | Description | 
|---|---|---|---|
| symbol | String | Yes | Trading pair. For details, view:/products | 
| limit | Integer | No | Number of records to retrieve. Must be greater than 0 and less than or equal to 100. | 
| pageNo | Integer | No | Page number (starting from 0, default 0) | 
Request example
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"}'
Response parameters
| Field Name | Type | Field Description | 
|---|---|---|
| accountId | String | Account ID | 
| symbol | String | Trading pair | 
| orderId | String | Order ID | 
| clientOrderId | String | Client order ID | 
| price | String | Order price | 
| quantity | String | Order quantity | 
| orderType | String | Order type | 
| side | String | Order side | 
| status | String | Order status | 
| latestFillPrice | String | Latest execution price | 
| maxFillPrice | String | Highest execution price | 
| minFillPrice | String | Lowest execution price | 
| fillQuantity | String | Filled quantity | 
| fillTotalAmount | String | Total filled amount | 
| cTime | String | Creation time | 
| uTime | String | Update time | 
Response example
{
  "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
  }
}