Backtest a real contribution history against a different set of dividend ETFs or stocks
Compare multiple candidate portfolios side by side using a YAML bucket file
Import a real Fidelity account export to auto-derive your true contribution calendar
Track trailing twelve month dividend income growth with charts
| danmat/divvy | 0xustaz/streamgate | a-bissell/unleash-lite | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | Python | Python | Python |
| Setup difficulty | easy | hard | hard |
| Complexity | 2/5 | 4/5 | 4/5 |
| Audience | general | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Real personal data stays local, the public demo only uses synthetic sample data.
Divvy is a command line tool and web app for people who invest in dividend stocks and ETFs. It answers a specific question: if you had put the exact money you actually invested, on the exact dates you actually invested it, into a different portfolio, how much would you have earned in dividends and total return instead. Most backtesting tools online assume a clean, made-up contribution schedule like a fixed amount every month. Divvy is built around the idea that real investing is messy, since people skip months, add lump sums, or rebalance, so it replays your true contribution history rather than a synthetic one. You can define one or more candidate portfolios, called buckets, either inline on the command line or in a YAML file listing tickers and target weights. Divvy compares these buckets side by side, showing total money contributed, total dividends received with reinvestment, the trailing twelve month dividend income, ending portfolio value, total return, and a money-weighted return called XIRR that accounts for when contributions happened. Every comparison also includes a benchmark, SPY by default, and a chart showing dividend income growth over time, not just a single lifetime number. Contributions can come from a simple two-column CSV of dates and amounts, or Divvy can read real Fidelity account export files to work out your actual contribution calendar and actual dividends received automatically. There is also an optional feature to pull dividend income out of a Fidelity 1099 tax document, though that alone cannot drive a backtest since it does not show what you actually bought. For people who prefer a visual tool over the command line, there is an interactive local web app where you can add and remove tickers, drag weight sliders, and watch the comparison table and charts update. It runs entirely on your own machine, so your financial data never has to leave your computer, and there is also a public demo running on made-up sample data. Divvy is written in Python, installable through pip, and released under the MIT license, which allows free use, including commercial use, as long as the copyright notice is kept.
A backtesting tool that replays your real investing history into a different portfolio to show the dividends and returns you would have earned instead.
Mainly Python. The stack also includes Python, CLI, Streamlit.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.