edit_order
Modify an open order's price, size, trigger price, or execution flags directly, avoiding cancellation and re-submission. Use to adjust order parameters while keeping the order active.
Instructions
Modify an existing open order's price, amount, or other parameters without cancelling and re-placing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | New order price | |
| amount | No | New order size in base currency | |
| order_id | Yes | The order ID to edit | |
| contracts | No | New size in number of contracts (preferred for options) | |
| post_only | No | Post-only flag | |
| reduce_only | No | Reduce-only flag | |
| trigger_price | No | New trigger price for stop/take-profit orders |