Modify Pending Order
modify_broker_orderModify a pending order (limit/stop order waiting to be filled) on a broker account. You can change the entry price, quantity, stop loss, and/or take profit. At least one field must be provided. All price values are absolute levels. Use this when the user wants to move a limit order to a different price, change lot size, or adjust SL/TP on a pending order. Binance does not allow modifying pending orders: there, cancel it with cancel_broker_order and place a new one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | New quantity in lots (e.g. change from 0.5 to 1.0 lots) | |
| price | No | New entry price for the limit/stop order (e.g. move limit buy from 1.0800 to 1.0750) | |
| orderId | Yes | The pending order ID (from get_positions) | |
| stopLoss | No | New stop loss price level | |
| takeProfit | No | New take profit price level | |
| brokerAccountId | Yes | The broker account ID (from get_positions) |