Modify order
modify_orderAdjust a working order's size, stop, limit, or trail price to manage risk or lock in profits. Update existing positions directly without re-entering the trade.
Instructions
Change size or price of a working order (e.g. move a stop to breakeven). trailPrice is an absolute price level; unlike place_order there is no max-distance check, so double-check it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| reason | No | Why; saved to the journal. | |
| orderId | Yes | ||
| accountId | Yes | Trading account ID from list_accounts. | |
| stopPrice | No | ||
| limitPrice | No | ||
| trailPrice | No |