Auto-Cancel All Open Orders (TRADE)
#
API DescriptionCancel all open orders of the specified symbol at the end of the specified countdown. This rest endpoint means to ensure your open orders are canceled in case of an outage. The endpoint should be called repeatedly as heartbeats so that the existing countdown time can be canceled and repalced by a new one. The system will check all countdowns approximately every 10 milliseconds, so please note that sufficient redundancy should be considered when using this function. We do not recommend setting the countdown time to be too precise or too small.
- Example usage:
#
HTTP RequestPOST /dapi/v1/countdownCancelAll
#
Request Weight10
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | YES | |
countdownTime | LONG | YES | countdown time, 1000 for 1 second. 0 to cancel the timer |
recvWindow | LONG | NO | |
timestamp | LONG | YES |