Platforms

Backtrader

Backtrader is a Python library for writing trading strategies, backtesting them, and connecting to a small set of live brokers. It is licensed GPL-3.0.

Official website

Recorded facts

Type
backtesting, algo framework, library
Automation languages
Python
Systems
Not recorded
Open source
Yes Repository
Pricing model
Free software under GPL-3.0. Distributed on PyPI as backtrader.

Automation and MCP

Python library for writing strategies, backtesting them, and connecting to live integrations including Interactive Brokers, Visual Chart and Oanda.

MCP / AI agent support
Community

No MCP server is published in the backtrader repository. Third-party MCP servers wrap Backtrader for agent-driven backtests.

Notes

The GitHub repository is not archived. Its last push was 19 August 2024, GitHub issues are disabled, and the newest PyPI release noted here is 1.9.78.123, uploaded 19 April 2023. PyPI lists the package as OS-independent, so no desktop OS is recorded.

Sources and last check

Last checked 18 October 2026.