Cancel all HF orders by symbol

This interface can cancel all open high-frequency orders (orders created through /api/v1/hf/orders).

This endpoint only sends cancellation requests. The results of the requests must be obtained by checking the order status or subscribing to websocket.

HTTP REQUEST

DELETE /api/v1/hf/orders?symbol={symbol}

Example

DELETE /api/v1/hf/orders?symbol=ETH-BTC

// response
{
  "code": "200000",
  "data": "success"
}
API KEY PERMISSIONS

This endpoint requires the Spot Trading permission.

REQUEST URL

This endpoint support Spot URL

REQUEST RATE LIMIT

Spot weight:2

PARAMETERS
Param Type Mandatory Description
symbol String Yes Cancel open orders pertaining to the specified trading pair
RESPONSES

Since this interface is a batch cancellation, the http status of the interface is 200, which means that the cancellation request has been submitted successfully, so no return value is required. The actual cancellation result can be obtained by query order status through API or subscribing to websocket to get the order status.