modify_order
Modify an open order's price or quantity, with support for both Korean and US stocks. Specify quantity for KR stocks, or adjust price for limit orders.
Instructions
Modify an open order's price/quantity. Requires TOSS_ENABLE_TRADING=true.
KR stocks: quantity required (positive integer string). US stocks: quantity not supported (omit it). LIMIT requires price; MARKET must omit price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | ||
| order_id | Yes | ||
| quantity | No | ||
| order_type | Yes | ||
| account_seq | No | ||
| confirm_high_value_order | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||