Replace order
replace_orderModify a working order's price, order type, or time in force without affecting other order details. Use to adjust pricing or duration of a pending order.
Instructions
Modify a working order's price, type, or time in force. Only the provided fields change; legs cannot be modified (cancel and re-create instead).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_number | Yes | The account number | |
| order_id | Yes | The order id to modify | |
| price | No | New price as a decimal string | |
| price_effect | No | New price effect | |
| order_type | No | New order type | |
| time_in_force | No | New time in force | |
| stop_trigger | No | New stop trigger price |