Skip to main content
Version: V3

Cancel All Orders by Symbol (TRADE)

  • DELETE /api/v3/openOrders

Weight(IP): 1, Weight(UID): 1

Request parameters

ParameterTypeRequired?Description
symbolStringYesTrading 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:

FieldTypeDescription
orderIdLongCancelled order ID.
statusStringFinal order status.

Response example

[
{
"orderId": 702345678901234567,
"status": "CANCELED"
}
]