Batch cancel up to 300 orders that satisfy the specified conditions.
- Singapore (sg): https://sg-api.upbit.com
- Indonesia (id): https://id-api.upbit.com
- Thailand (th): https://th-api.upbit.com
Batch Cancellation Eligibility by Order Status
The Batch cancellation API can only cancel orders in the WAIT (pending) status.
However, since trades may occur during the cancellation process, the order quantity at the time of the cancellation request and the canceled order quantity after completion may differ.
Orders in a reserved state (WATCH) cannot be canceled using the Bulk Cancel API. TTo cancel these orders, use either the Cancel Order or the Cancel Orders by IDs API.
Cancellation Target Specification
To specify the orders for bulk cancellation, you can use the following criteria:
- Order Side: Optionally cancel only buy or sell orders.
- Pairs: Specify up to 20 pairs to include for cancellation, or specify pairs to exclude from cancellation.
- Market (Quote Asset): Cancel orders only within a specific market.
- Cancellation Count and Sorting Option: Cancel a specified number of orders sorted by newest or oldest first.
If any pairs included in the target pairs or target market overlap with pairs listed in the exclusion list (excluded_pairs), the exclusion list takes higher priority, and such pairs are excluded from cancellation.
Example
/v1/orders/open?cancel_side=bid
Version | Date | Changes |
---|---|---|
v1.1.9 | 2024-12-11 |
Addition of Batch Order Cancel
|
If you encounter an out_of_scope error, please verify your permissions in the API Key Management page.