update_portfolio_holding
Update a portfolio holding's name, symbol, currency, crypto flag, or note. Renames cascade automatically to all transactions.
Instructions
Update a portfolio holding's name, symbol, currency, isCrypto, or note. Renames cascade to all transactions automatically because get_portfolio_analysis groups by FK, not by string. NOTE: the legacy account parameter is REFUSED (issue #99) — moving a holding to a different account would leave stale holding_accounts rows and broken transaction account attribution. To move shares between accounts use record_transfer (in-kind); to re-attribute existing transactions update them individually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| note | No | ||
| symbol | No | Pass empty string to clear | |
| account | No | REFUSED (issue #99): account moves create stale state. Use record_transfer (in-kind) instead. | |
| holding | Yes | Current holding name OR symbol (fuzzy matched) | |
| currency | No | ||
| isCrypto | No |