Lots and cost basis
Each buy opens a lot with a date, share count, and cost. The cost-basis method is set per holding: FIFO, average cost, or specific lot. FIFO uses the oldest open lot. Average cost spreads a sale across open lots. Specific lot asks you to assign every share in the sell dialog and shows realized gain before save.
Steps
- Open Portfolio and choose the account.
- Choose the security and set Cost basis.
- Record a sell. For specific lot, fill every lot so the shares add up, then read the gain preview.
Open Reports → the realized-gains page for short-term and long-term rows after a sale.
If this goes wrong
If a sale is blocked, the allocation does not match the shares sold. Add the missing lot amounts. Basis stays on the lot until those shares close.