Home / Backtesting & trading frameworks

backtrader

Backtesting & trading frameworks★ 23,448 GitHub starsPython⏱ No commits in over six months

Python backtesting and live trading platform for strategies

What it is

A Python backtesting and live trading platform for trading strategies. It lets users define strategies with built-in indicators such as moving averages, run them against data feeds from CSV files, online sources, pandas, or blaze, and plot results as full charts. Live data and trading are supported through Interactive Brokers, Visual Chart, and Oanda. Developers should be aware that some live brokers require additional dependencies, and Oanda support is limited to the REST API only.

At a glance

Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.

Best forDevelopers
Used forBacktesting, Strategy research
MarketsMulti-market
StackPython
Learning curveModerate learning curve
Practical valueHigh practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceNo commits in over six months

GitHub stars, last 30 days

Daily snapshots since 2026-09-12 (up to 30 days): +207 over the period, now 23,448. Gaps mean no snapshot was taken that day.

In the author's words

Python Backtesting library for trading strategies.

Open on GitHub ↗This week's trending tools中文页面

Similar tools