Cancel all HF orders by symbol

This interface can cancel all open high-frequency Margin orders (orders created through POST /api/v3/hf/margin/order).

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

HTTP REQUEST

DELETE /api/v3/hf/margin/orders?symbol={symbol}&tradeType={tradeType}

Example

DELETE /api/v3/hf/margin/orders?symbol=ETH-BTC&tradeType=MARGIN_TRADE

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

This endpoint requires the Margin Trading permission.

REQUEST URL

This endpoint support Spot URL

REQUEST RATE LIMIT

Spot weight:10

PARAMETERS
Param Type Mandatory Description
symbol String Yes Cancel open orders pertaining to the specified trading pair
tradeType String Yes Transaction type: MARGIN_TRADE - cross margin trade, MARGIN_ISOLATED_TRADE - isolated margin trade
RESPONSES

Since this interface is for batch cancellation of orders, the http status of the interface is 200.