fetch_cancel_on_disconnect
Check an authenticated account's cancel-on-disconnect status: whether resting orders auto-cancel if its last WebSocket drops and fails to reconnect. Requires API credentials.
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 | |||