update_position
Modify an existing stock position by updating notes, entry price, or share count, or close it by setting status to CLOSED with a close price. Requires position ID and API key.
Instructions
Update position: notes, entryPrice, shares, or close (status CLOSED + closePrice). API key required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Position ID (from list_portfolio) | |
| notes | No | Updated notes | |
| shares | No | Updated share count | |
| status | No | Set to 'CLOSED' to close the position | |
| closePrice | No | Close price per share — required when status is 'CLOSED' | |
| entryPrice | No | Updated entry price per share |