Kill Switch is a risk management functionality that allows users to cancel all open orders after a certain time period. This mechanism protects clients from order executions in case of latency, network failures or system outage. This feature is only available for API users.
Kill Switch allows a client to send a request with a timeout (in seconds), which will start a timer. Once this timer expires, all open orders for this client are canceled. Open orders are defined as any orders resting on the order book and any smart orders that are not triggered.
Clients will need to keep resetting this timer by sending requests before the expiry to keep the orders live on the order book. A timeout value of -1 will disable the timer completely so any active orders will be treated as normal unless a new request with a non zero timer is activated. Once a timer has reached its expiration time and all orders have been canceled, this feature is deactivated unless a client sends a new request. There is no change in behavior for any users who do not wish to use this feature.
During maintenance mode (MM), Kill Switch is not allowed, but any active Kill Switch in progress will be deactivated. Kill Switch will continue to function normally during post only mode.
Kill Switch api endpoints are defined here.