capital_gains_report
Compute capital gains for a single tax year with proceeds, ACB, and taxable gain, including superficial loss adjustments. Input transactions inline or via CSV.
Instructions
Produce a capital-gains report for a single tax year (Schedule 3 style).
Returns every disposition dated in 'tax_year' with proceeds, ACB, outlays and the allowable capital gain/loss, plus totals: total proceeds, total ACB, net capital gain, and the taxable capital gain (net gain times the 50% inclusion rate). Superficial losses are already applied. Accepts inline 'transactions' or a 'csv_path'. Each transaction is an object: date (YYYY-MM-DD), action ('buy' or 'sell'), security (ticker/symbol), shares, price (per share), and optionally commission, currency, fx_rate (trade-currency to CAD, e.g. 1.35 for USD), and note.
This is a calculation aid, not tax advice; verify results before filing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_path | No | ||
| tax_year | Yes | ||
| transactions | No |