Cancel All Orders by Symbol (TRADE)
- DELETE
/api/v3/openOrders
Weight(IP): 1, Weight(UID): 1
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| symbol | String | Yes | Trading pair whose open orders should be cancelled. |
Request example
curl -X DELETE "https://api-spot.weex.com/api/v3/openOrders?symbol=BTCUSDT" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
Response parameters
Returns an array of cancelled orders with the following fields:
| Field | Type | Description |
|---|---|---|
| orderId | Long | Cancelled order ID. |
| status | String | Final order status. |
Response example
[
{
"orderId": 702345678901234567,
"status": "CANCELED"
}
]