https://github.com/nickstenning/etfmatic-capgains
Scripts to calculate capital gains based on data exported from ETFmatic
https://github.com/nickstenning/etfmatic-capgains
Last synced: about 1 year ago
JSON representation
Scripts to calculate capital gains based on data exported from ETFmatic
- Host: GitHub
- URL: https://github.com/nickstenning/etfmatic-capgains
- Owner: nickstenning
- Created: 2021-09-18T13:42:33.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T19:12:19.000Z (over 2 years ago)
- Last Synced: 2025-02-09T21:12:04.946Z (over 1 year ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ETFmatic capital gains calculator
This repository contains a few scripts to help calculate capital gains for an
ETFmatic investment account.
It assumes you have already downloaded a full list of trades and cash movements
from ETFmatic, in CSV format.
- `import.py`: processes the CSV files and imports data into a SQLite database
- `reconcile.py`: reconciles sale transactions against purchase transactions on a FIFO cost basis
- `summary.py`: generates textual reports on capital gains for a given calendar year
**N.B.** There are almost certainly bugs in this code. Use at your own risk.
NO WARRANTY OF ANY KIND IS OFFERED BY THE ORIGINAL AUTHOR OF THIS CODE