Comparison
backtrader vs bt
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
BackTesting 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 18 of the last 26 weeks. A safe choice.
$
pip install btIn short
- backtrader is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- bt is the most used: 63K downloads a month.
- bt also has the best Pythie’s Index (90).
- Safe default for a new project: bt.
Side by side
| Metric | backtrader | bt |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | 90 |