Skip to main content

Cancel All Of Your Order(s) After a Specified Timeout

POST 

/api/v1/order/cancelAllAfter

Useful as a dead-man's switch to ensure your orders are canceled in case of an outage. If called repeatedly, the existing offset will be canceled and a new one will be inserted in its place.

Example usage: call this route at 15s intervals with an offset of 60000 (60s). If this route is not called within 60 seconds, all your orders will be automatically canceled.

This is also available via WebSocket.

Request

Responses