get_cancel_on_disconnect
Retrieve the cancel-on-disconnect (COD) status for your account, including whether it's enabled, active, and the grace period in seconds. Use this to verify if orders will be canceled when your WebSocket connection drops.
Instructions
Get the authenticated account's cancel-on-disconnect (COD) status. COD is an opt-in dead man's switch: when the account's last authenticated WebSocket connection drops and does not reconnect within the grace window, the exchange cancels all of the account's resting orders. Returns enabled (the account's own opt-in), active (whether it will actually fire — the opt-in AND the exchange-side feature switch), and grace_secs (the reconnect window in seconds, null when the feature is unavailable). Clients that trade purely over REST and never open a WebSocket are not covered. Requires API credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||