
Backtrader
Backtrader is a free, open-source Python library for backtesting and live trading strategies.
- From
- Free
- Free plan
- Open source
- Platforms
- Code
- Markets
- Not recorded
- API
- Not recorded
- MCP server
- None found
Plans
| Plan | Price | What it includes |
|---|---|---|
| Open source | Free | Free plan, Open source (GPL-3.0). No charge. |
Free plan
Free: open-source library under GPLv3+ source
Good to know
The latest PyPI release is 1.9.78.123, uploaded 2023-04-19; the GitHub repo publishes no GitHub releases source
Details
- Licence
- GPL-3.0 (PyPI: GNU General Public License v3 or later) source
- Latest release
- 1.9.78.123, uploaded to PyPI 2023-04-19 source
- Language
- Python source
- Languages / strategy builder
- Python code source
- Data included
- No bundled dataset; data feeds read CSV files, online sources (Yahoo Finance example) or pandas source
- Fill / slippage model documented
- Yes: percentage and fixed slippage via set_slippage_perc / set_slippage_fixed. https://www.backtrader.com/docu/slippage/slippage/ source
- Asset classes
- Any instrument with a data feed; futures rollover and forex (Oanda) are documented source
- GitHub stars
- 23,768 on mementum/backtrader source
- GitHub last push
- 19 Aug 2024 source
- Licence (GitHub)
- GPL-3.0 source
- Weekly downloads (PyPI)
- 28,514 last week for backtrader source