Backtrader
Official website backtrader.com ↗
Quick overview
Backtrader is an open-source Python framework for backtesting and live trading of strategies on stocks, futures, forex and crypto. It runs locally wherever Python runs. The project has barely been developed since 2019–2023.
Detailed
Backtrader provides an event-driven backtesting engine, 122 built-in indicators, performance metrics, optimization, and live trading through brokers (Interactive Brokers, Oanda and others), supporting Python ≥ 3.2. The GitHub repository was created in January 2015 and has gathered more than 23 thousand stars; the latest PyPI release is version 1.9.78.123 (April 2023), the last commits date to August 2024, and open pull requests are not being processed. The license is GPL-3.0. The strengths are that it is free, mature, and rich in tutorials; the main drawback is that development is effectively frozen, which is why the community is migrating to maintained alternatives (e.g., NautilusTrader, Backtesting.py).