update_trade
Modify an existing trade record by transaction ID. Update shares, price, trade date, or note after user confirmation.
Instructions
修改一筆已存在的交易紀錄(依 transaction id)。執行前會請使用者確認。可修改 shares / price / tradeDate / note。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 交易 id(必填);可從 get_trade_journal 取得 | |
| shares | No | 新股數(選填) | |
| price | No | 新成交價(選填) | |
| tradeDate | No | 新交易日期 YYYY-MM-DD(選填) | |
| note | No | 新備註(選填) |