Editing and deleting holdings
Learn how to update quantities, costs, and remove holdings from your portfolio.
Your portfolio changes over time. This guide shows you how to update and remove holdings as needed.
Editing a holding
To edit an existing holding:
- Find the holding in your portfolio table
- Click on the holding row to open the details panel
- Click Edit
- Update the fields you want to change
- Click Save
What you can edit
In a cost basis portfolio:
- Quantity — Number of shares you own
- Cost — Your average cost per share
In a transaction-based portfolio:
- Individual transactions (not the holding summary)
- Add new buy/sell transactions
Tip: In transaction-based portfolios, edit the transactions rather than the holding directly. This keeps your history accurate.
Updating after buying more shares
When you buy more shares of a stock you already own:
Cost basis portfolio
- Edit the holding
- Add the new shares to your quantity
- Recalculate your new average cost
- Save
Calculating new average cost:
New average = (Old shares × Old cost + New shares × New price) ÷ Total shares
Example: You own 50 shares at $100, and buy 25 more at $120
New average = (50 × 100 + 25 × 120) ÷ 75 = $106.67
Transaction-based portfolio
Simply add a new buy transaction. The system automatically recalculates your average cost.
Updating after selling shares
Cost basis portfolio
- Edit the holding
- Reduce the quantity by the shares sold
- Keep the same average cost (your cost basis doesn't change when selling)
- Save
Transaction-based portfolio
Add a sell transaction. The system:
- Reduces your quantity
- Calculates your capital gain/loss using FIFO
- Updates your cost basis for remaining shares
Deleting a holding
To completely remove a holding:
- Click on the holding to open details
- Click Delete (or the trash icon)
- Confirm the deletion
Warning: Deleting a holding removes it permanently. In transaction-based portfolios, all related transactions are also deleted.
When to delete vs. sell
- Delete when you made a mistake or the holding shouldn't be in this portfolio
- Record a sell (transaction-based only) when you actually sold the shares
Recording sells preserves your history and enables accurate performance tracking.
Bulk operations
Currently, holdings must be edited one at a time. For large updates, consider using CSV import to overwrite your portfolio.
To replace your portfolio with a new CSV:
- Export your current holdings (if you want a backup)
- Import the new CSV
- Choose Replace existing holdings when prompted