amend_order
Modify an existing cTrader order by updating its price or volume. The system validates the account and order IDs, then returns the updated order state.
Instructions
Amend an existing cTrader order.
This override ensures:
Account ID is always bound to the authenticated session
Order ID is validated as a non-empty string
Only supported amendment parameters are allowed
Response includes updated order state
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Optional new price | |
| volume | No | Optional new volume | |
| order_id | Yes | The order ID to amend | |
| account_id | Yes | The cTrader account ID (from session) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||