Comparison
backtesting vs backtrader vs bt vs freqtrade
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 backtraderA flexible backtesting framework for Python
Actively maintained. Last release 7 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install btFreqtrade - Crypto Trading Bot
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install freqtradeIn short
- backtrader is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- backtesting is the most used: 229.3K downloads a month.
- bt is better maintained: Pythie’s Index 89 against 41.
- freqtrade is growing fastest: downloads +23% over the last month.
Side by side
| Metric | backtesting | backtrader | bt | freqtrade |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 41 | Pythie’s Index: 22 | Pythie’s Index: 89 | Pythie’s Index: 87 |
| Verdict | Maintained | Slowing down | Actively maintained | Actively maintained |
| Downloads / month | 229.3K | 204.9K | 60.5K | 79.5K |
| Downloads, month over month | -2% | +7% | -15% | +23% |
| GitHub stars | 9.3K | 23.8K | 3K | 57.4K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 8 | 58 | 6 | 2 |
| Last release | Jul 22, 2026 | Apr 19, 2023 | Oct 10, 2026 | Nov 30, 2026 |
| Releases, 12 months | 1 | 0 | 10 | 15 |
| Weeks with commits | 3 / 26 | 0 / 26 | 21 / 26 | 26 / 26 |
| Recent contributors | 15 | 25 | 9 | 4 |
| First release | Jan 2019 | May 2019 | Jun 2014 | Dec 2018 |
| Python versions | – | 3.2 – 3.7 | 3.9 – 3.13 | 3.12 – 3.14 |
| License | AGPL-3.0 | GPL-3.0 OR GPL-3.0-or-later | MIT | GPL-3.0-only |
| 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.