For the complete documentation index, see llms.txt. This page is also available as Markdown.

PUT /account/cancel-on-disconnect

Set cancel-on-disconnect

Set cancel-on-disconnect.

operationId: setCancelOnDisconnect

Not reachable through CCXT. Cancel-on-disconnect is a Nexus session policy, not a CCXT method.

Authentication: hmacAuth.

Enables or disables cancel-on-disconnect for the authenticated account. Opt-in is per account and off by default: someone who deliberately leaves a passive resting order while offline should not have a brief blip cancel it. Enable it when you want the guarantee that a dead client cannot keep orders resting — typical for market makers and algorithmic traders. Returns the resulting COD status (same shape as the GET).

Request body

Required. SetCancelOnDisconnectRequestapplication/json.

{
  "enabled": true
}

Responses

Status
Body
Meaning

200

CancelOnDisconnectStatus

The resulting cancel-on-disconnect status for the account.

400

(no schema declared)

Malformed request body.

401

(no schema declared)

Example

X-Signature is a placeholder: it is derived from this specific request. See Authentication for the canonical string and the HMAC rule.


Generated from eng/apps/exchange/api/openapi.json (spec 0.9.36). Do not edit by hand — regenerate with python3 product/docs/tools/api-reference/generate.py. Hand-authored context lives in the Guides pages.

Last updated