get_cancel_on_disconnect
Retrieve an authenticated account's cancel-on-disconnect status, including whether it is enabled, active, and the reconnect grace period before resting orders are canceled.
Instructions
Deprecated: use fetch_cancel_on_disconnect. 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 | |||