backtrader

Package — FinancePython 3.7+Advanced

Trading strategy backtesting with live trading support

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
None (pure Python; optional: matplotlib)
Install
pip install backtrader

Learn by Difficulty

Quick Example

python
# Install: pip install backtrader
import backtrader

# Basic backtrader usage
print(f"Using backtrader")
# See documentation for detailed examples

backtrader is a third-party package. Trading strategy backtesting with live trading support. Install with: pip install backtrader

Try in Playground

Tags

packagefinancetradingquantitative