Cancel a Taiwan order
POST{BASE_URL}/tw/orders/cancel
Requests cancellation of the working order identified by order_id.
The call returns once the cancel is accepted; the outcome arrives
asynchronously as a canceled or cancel_rejected WebSocket update.
leaves_quantity is the unfilled quantity when the request was
accepted. Cancels are accepted in any regime and while the account is
frozen.
For an equity order with AutoFX, Atomic Vaults coordinates the linked funding workflow and publishes updates for the affected equity and FX orders.
Request
Responses
- 200
- 400
- 401
- 403
- 500
- 503
Cancel request accepted.
The request could not be accepted, for example because the account or
symbol is unavailable, a required paired account is missing, buying power
or position is insufficient, required market pricing is unavailable, an
identifier is duplicated, or an order field or requested lifecycle action
is invalid. A missing account_number, or one not linked to the API key,
also returns 400 BasicInput_Error.
Missing or invalid X-API-KEY.
The API key is read-only and the request is not a GET.
Unexpected server-side failure, for example the order service did not
answer in time (AVInternal_Error, system too busy) or was
unreachable (Misc_Error). For order requests, check the order's
status before retrying: a retried order_id that was already
accepted is rejected as a duplicate.
A required service is temporarily unavailable (for example the database, or for Hong Kong requests that read from GigaMoney Whale, the Whale connection). Retry later.