update_investment_transaction
Update an existing investment transaction — correct the date, quantity, price, fees, category, or label. Obtain the transactionId from get_investment_transactions. Only provided fields are changed; the holding recalculation runs automatically after every update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | When the trade occurred. Accepts a date-only value (ISO 8601, e.g. "2024-03-15") or a full datetime (e.g. "2024-03-15T09:30:00.000Z"); date-only is stored at UTC midnight. | |
| fees | No | New fees/commissions as a decimal string | |
| name | No | New label or note | |
| price | No | New price per share as a decimal string | |
| category | No | New transaction category | |
| quantity | No | New share quantity as a decimal string | |
| transactionId | Yes | Investment transaction ID (from get_investment_transactions) |