Comparison
backtesting vs backtrader vs freqtrade vs vectorbt
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Backtest trading strategies in Python
Maintained. Last release 4 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install backtestingBackTesting Engine
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install backtraderFreqtrade - Crypto Trading Bot
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install freqtradePython library for backtesting and analyzing trading strategies at scale
Actively maintained. Last release 3 days ago, commits in 14 of the last 26 weeks. A safe choice.
pip install vectorbtIn short
- backtrader is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- vectorbt is the most used: 397.2K downloads a month, 1.7× more than backtesting.
- Maintenance is comparable: vectorbt 89, freqtrade 87, backtesting 41 on Pythie’s Index.
- freqtrade is growing fastest: downloads +23% over the last month.
- Safe default for a new project: vectorbt.
Side by side
| Metric | backtesting | backtrader | freqtrade | vectorbt |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 41 | Pythie’s Index: 22 | Pythie’s Index: 87 | Pythie’s Index: 89 |
| Verdict | Maintained | Slowing down | Actively maintained | Actively maintained |
| Downloads / month | 229.3K | 204.9K | 79.5K | 397.2K |
| Downloads, month over month | -2% | +7% | +23% | +6% |
| GitHub stars | 9.3K | 23.8K | 57.4K | 10K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 8 | 58 | 2 | 11 |
| Last release | Jul 22, 2026 | Apr 19, 2023 | Nov 30, 2026 | Nov 28, 2026 |
| Releases, 12 months | 1 | 0 | 15 | 10 |
| Weeks with commits | 3 / 26 | 0 / 26 | 26 / 26 | 14 / 26 |
| Recent contributors | 15 | 25 | 4 | 21 |
| First release | Jan 2019 | May 2019 | Dec 2018 | Dec 2020 |
| Python versions | – | 3.2 – 3.7 | 3.12 – 3.14 | 3.11 – 3.14 |
| License | AGPL-3.0 | GPL-3.0 OR GPL-3.0-or-later | GPL-3.0-only | unknown |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.