Comparison
backtesting vs backtrader
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Backtest trading strategies in Python
Low maintenance activity. Last release 4 months ago, commits in 2 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 backtraderIn 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: 228K downloads a month.
- backtesting also has the best Pythie’s Index (40).
Side by side
| Metric | backtesting | backtrader |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 40 | 22 |