Set Auto-Cancel
Set a dead man switch that will cancel all open orders at the specified time.
Time must be at least 5 seconds in the future, or 0 to clear an active
schedule without triggering it. Posting a new auto-cancel replaces the
previous one.
The switch is one-shot: once the deadline elapses and your open orders are cancelled, the schedule clears automatically. Orders you place after the fire are not affected by the expired deadline — re-arm to extend protection.
Each account may trigger auto-cancel at most 10 times per UTC day. Once
that limit is reached, further attempts to arm a schedule are rejected with
auto_cancel_daily_limit_reached until the next UTC day; clearing an
existing schedule (time: 0) is always allowed.
Use GET /v1/account/auto-cancel to check the current deadline, today’s
trigger count, and when the daily counter resets.
Requires proxy signature, see proxy signing.
Body
Auto-cancel request.
Signature in hex format
"0x1234567890..."
Salt
1234567890
Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp).
1767225600000
Response
The effective auto-cancel schedule after the update.
The effective auto-cancel schedule after the update. deadline echoes the
armed Unix-ms time, or 0 when the schedule was cleared (time: 0).