Auto Cancel HF order setting

Call this interface to automatically cancel all orders of the set trading pair after the specified time. If this interface is not called again for renewal or cancellation before the set time, the system will help the user to cancel the order of the corresponding trading pair. Otherwise it will not.

Note: The order cancellation delay is between 0 and 10 seconds, and the order will not be canceled in real time. When the system cancels the order, if the transaction pair status is no longer operable to cancel the order, it will not cancel the order

HTTP REQUEST

POST /api/v1/hf/orders/dead-cancel-all

Example

POST /api/v1/hf/orders/dead-cancel-all

{
  "code": "200000",
  "data": {
    "currentTime": 1682010526,
    "triggerTime": 1682010531
  }
}
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
timeout Integer Yes Auto cancel order trigger setting time, the unit is second. range: timeout=-1 (meaning unset) or 5 <= timeout <= 86400. For example, timeout=5 means that the order will be automatically canceled if no user request is received for more than 5 seconds. When this parameter is changed, the previous setting will be overwritten.
symbols String No List of trading pairs. When this parameter is not empty, separate it with commas and support up to 50 trading pairs. Empty means all trading pairs. When this parameter is changed, the previous setting will be overwritten.
RESPONSES
Param Description
currentTime System current time (in seconds)
triggerTime Trigger cancellation time (in seconds)