Comparison
backtesting vs backtrader 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 backtraderFreqtrade - Crypto Trading Bot
Actively maintained. Last release 2 days 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.
- freqtrade is better maintained: Pythie’s Index 87 against 41.
- freqtrade is growing fastest: downloads +23% over the last month.
Side by side
| Metric | backtesting | backtrader | freqtrade |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 41 | 22 |