Skip to content

Brokers

Choose your broker below to find the export instructions and command to use. Export the complete history from the account's first transaction when possible, not only the tax year you are calculating. Earlier purchases or employer-share awards can establish the cost of shares sold later.

If your shares came from an employer, check the broker guide carefully. Schwab supports only the award-export formats described in its guide, Morgan Stanley support is limited to Alphabet's GSU plan, and Sharesight requires equity grants to be recorded in a particular way.

Broker CLI option Notes
Charles Schwab --schwab-file or --schwab-dir, --schwab-award-file Written equity options, some Equity Awards formats
Freetrade --freetrade-file Activity CSV export
Hargreaves Lansdown --hl-dir Tax Centre CSVs plus contract notes
Interactive Brokers --interactive-brokers-file Transaction history CSV
Morgan Stanley --mssb-dir Alphabet GSU reports only
Revolut --revolut-file Invest account statement CSV
Sharesight --sharesight-dir Multi-broker portfolio tracker
Trading 212 --trading212-dir Folder of yearly exports
Vanguard --vanguard-file Client Transactions Listing CSV
RAW format --raw-file Generic fallback for other brokers

Dates and time zones

UK share matching and the tax year boundary run on UK calendar days. Freetrade, Revolut and Trading 212 timestamp each transaction in UTC, and cgt-calc converts those to UK time before taking the date. Every other export above states a date with no time, so cgt-calc reads that date as the broker wrote it and cannot correct one that was recorded in another time zone.

If your broker is not listed, try the RAW format. Contributions for new brokers are very welcome — see Adding a broker.