v2

latestOpenAPI 3.0.3Apache 2.02026-07-3149289180.2 KB

Get Auto-Cancel Status

Get the current auto-cancel status for the authenticated account: the armed deadline, how many times the switch has fired today, and when the daily counter resets.

get/v1/account/auto-cancel

Response

Auto-cancel status response.

deadlineinteger required

Deadline of the armed auto-cancel schedule, in Unix milliseconds. Zero means no schedule is armed. When the deadline passes, the exchange cancels every open order on the account and the schedule clears.

triggeredinteger required

Number of times auto-cancel has fired for this account during the current UTC day. Resets to zero at 00:00 UTC.

daily_limitinteger required

Maximum number of auto-cancel triggers allowed per UTC day.

next_resetinteger required

Unix-ms timestamp of the next UTC midnight when the daily trigger count resets to zero.

Example response

{
  "deadline": 1767000045000,
  "daily_limit": 1000,
  "next_reset": 1767052800000
}