added
Addition of Batch Order Cancel, Order List Cancel features
10 days ago by Upbit Developer Center
Dear Traders,
We're pleased to announce new features based on your valuable feedback using the Upbit Open API.
When to Use These Features
- In specific situations (e.g., increased volatility, maintenance), you can request the cancellation of all open orders.
- You can cancel unnecessary or long-standing open orders in bulk.
Works well together
Batch Order Cancel
You can request the cancellation of multiple orders based on various conditions.
cancel_side
: Allows you to request the cancellation of open orders based on their type.all
: ask, bid all (default) /ask
/bid
- You can filter and cancel multiple orders based on specific criteria.
pairs
: The pairs to cancel (e.g., 'IDR-BTC,IDR-ETH' to cancel open orders for these pairs)quote_currencies
: The market currency to cancel (e.g., 'IDR' to cancel all open orders in the IDR market)excluded_pairs
: The assets to exclude from bulk cancellation (e.g., 'IDR-BTC' to cancel all open orders except for this pair)
- By using the
order_by
field, you can filter orders to cancel in either the latest or oldest order. - ⚠️ If no parameters are included in the request, it defaults to canceling the latest 20 orders across all buy/sell orders.
- ⚠️ A separate rate limit (1 request per 2 seconds) applies.
- For more details, please refer to the documentation.
- [API Reference] > [EXCHANGE API] > [Order] > [Batch Order Cancel]
Order List Cancel
You can request the cancellation of up to 20 open orders in bulk.
- You can request the cancellation of up to 20 orders using
uuids[]
oridentifiers[]
.- Only one of these fields is required.
- ⚠️ The
identifiers[]
field is available only for orders created after October 18, 2024. - For more details, please refer to the documentation.
- [API Reference] > [EXCHANGE API] > [Order] > [Order List Cancel]
Important Notes
- Both 'Batch Order Cancel' and 'Order List Cancel' are applicable only for open (WAIT) orders.
- Both features support only Query Parameter requests. Requests through the Request Body are not supported.
- Cancellation requests may fail in certain conditions (e.g., already fulfilled, previously canceled, or temporarily suspended due to market issues like rebranding or maintenance).
[Schedule]
- Date : Wednesday, December 11, 2024
If you have any inquiries, please contact us at [email protected], and we will promptly address your concerns.
Thank you.