modify_order
Update existing pending orders by modifying entry price, stop loss, take profit, and expiration time. Set an expiry timestamp to automatically cancel unfilled orders.
Instructions
Modify an existing pending order. You can update price, stop loss, take profit, and expiration time. The expiry parameter accepts Unix timestamp (seconds since 1970-01-01). If expiry is set, the order will be automatically cancelled at that time if not filled. (기존 대기 주문을 수정합니다. 가격, 손절가, 익절가, 만료시간을 업데이트할 수 있습니다.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | New Stop Loss price (optional) | |
| tp | No | New Take Profit price (optional) | |
| price | No | New price for pending orders (optional) | |
| expiry | No | Order expiration time in Unix timestamp (optional). Order will be automatically cancelled at this time if not filled. | |
| ticket | Yes | Order ticket number |