modify_order
Modify stop loss, take profit, price, or expiration on existing positions or pending orders. Adjust trade parameters with optional approval for widening protective levels.
Instructions
Modify SL/TP on a position or price/expiration on a pending order.
When the consent gate is armed (policy.auto_approve_notional > 0),
widening or removing an existing SL/TP requires approval; tightening
always auto-approves. At the default of 0 the gate is off and every
modify auto-executes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket | Yes | ||
| sl | No | ||
| tp | No | ||
| price | No | ||
| expiration | No | ||
| idempotency_key | No | ||
| approval_confirmed | No | ||
| approval_request_id | No |