paradex_cancel_orders
Cancel pending orders to manage market exposure, adjust strategies, or respond to changing conditions. Remove specific or all orders, clear stale trades, and reduce risk during market volatility.
Instructions
Cancel pending orders to manage exposure or adjust your trading strategy.
Use this tool when you need to:
- Remove stale limit orders that are no longer desirable
- Quickly reduce market exposure during volatility
- Update your order strategy by removing existing orders
- Clear your order book before implementing a new strategy
- React to changing market conditions by canceling pending orders
Order cancellation is a critical risk management function and allows you
to quickly adapt to changing market conditions.
Example use cases:
- Canceling limit orders when your outlook changes
- Removing all orders during unexpected market volatility
- Canceling a specific order identified by order ID
- Clearing all orders for a specific market
- Removing stale orders before placing new ones
Calling without any parameters will cancel all orders.
Succesful response indicates that orders were queued for cancellation.
Check order status using order id.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
client_id | No | Client id (provided by you on create_order) | |
market_id | No | Market is the market to cancel orders for | ALL |
order_id | No | Order id (received from create_order) |
Input Schema (JSON Schema)
{
"properties": {
"client_id": {
"default": "",
"description": "Client id (provided by you on create_order)",
"title": "Client Id",
"type": "string"
},
"market_id": {
"default": "ALL",
"description": "Market is the market to cancel orders for",
"title": "Market Id",
"type": "string"
},
"order_id": {
"default": "",
"description": "Order id (received from create_order)",
"title": "Order Id",
"type": "string"
}
},
"title": "cancel_ordersArguments",
"type": "object"
}