What is the Auto-Cancel All Open Orders (Kill-Switch) feature?
How Does the Auto-Cancel All Open Orders (Kill-Switch) feature work?
2. Market Maker will send a "heartbeat" message by calling the endpoint (specifying the underlying symbol) at specific intervals (ex. every 30 seconds) to the server.
3. The server will respond with a heartbeat confirmation message specifying the underlying symbol for which the countdown time has been reset.
4. The system will cancel or maintain the Market Maker’s open orders following the rules outlined below:
- Current Time - Heartbeat Timestamp > Countdown Time: All outstanding orders are canceled.
- Current Time - Heartbeat Timestamp <= Countdown Time: All existing orders are left in the order book
What is the difference between Auto-Cancel All Open Orders (Kill-Switch) and MMP?
- MMP will remove only MMP order types on fills (ie. MMP is triggered by order fills, meaning that orders will stay in the order book until there's a fill that breaks the qtyLimit or deltaLimit) and can be automatically reset.
- Auto-Cancel All Open Orders (Kill-Switch) will remove all order types on disconnection (ie. Kill-Switch will remove orders from the order book based on connectivity)
Name | Type | Mandatory | Description |
underlying | STRING | YES | Underlying Option symbol (e.g. ETHUSDT, BTCUSDT) |
countdownTime | LONG | YES | Countdown time in milliseconds (ex. 1,000 for 1 second). 0 to disable the timer. Does not accept negative values. Minimum acceptable value is 5,000. |
recvWindow | LONG | NO | Specifies the number of milliseconds after the timestamp parameter the request is valid for. If recvWindow is not sent, it defaults to 5000. |
timestamp | LONG | YES | A SIGNED endpoint also requires a timestamp parameter to be sent which should be the millisecond timestamp of when the request was created and sent. |
Name | Type | Mandatory | Description |
underlying | STRING | YES | Underlying Option symbol (e.g. ETHUSDT, BTCUSDT) |
recvWindow | LONG | NO | Specifies the number of milliseconds after the timestamp parameter the request is valid for. If recvWindow is not sent, it defaults to 5000. |
timestamp | LONG | YES | A SIGNED endpoint also requires a timestamp parameter to be sent which should be the millisecond timestamp of when the request was created and sent. |
Name | Type | Mandatory | Description |
underlyings | LIST | YES | Underlying Option symbol (e.g. ETHUSDT, BTCUSDT) |
recvWindow | LONG | NO | Specifies the number of milliseconds after the timestamp parameter the request is valid for. If recvWindow is not sent, it defaults to 5000. |
timestamp | LONG | YES | A SIGNED endpoint also requires a timestamp parameter to be sent which should be the millisecond timestamp of when the request was created and sent. |