Skip to content
ToolsOpen sourceGPL-3.0

Backtrader

The long-standing Python backtesting and live-trading framework

By mementum

Live GitHub metrics

Live GitHub data · Oct 11, 2026
Stars
23,450
Stars · 7d
+76
Stars · 30d
+273
30d momentum
+1.2%
Forks
5,292
Open issues
64
Language
Python
Last push
2 years ago

No tagged releases. Repository created Jan 10, 2015.

19.2k19.4k19.6kJun 14Oct 11
Cumulative GitHub stars, Jun 14, 2026 to Oct 11, 2026. Source: OSSInsight star history.

What it is

Backtrader has been the default Python backtester for a decade and still underpins many tutorials and agent prototypes. It is feature-complete but no longer actively developed, which matters when you pair it with modern data libraries.

No longer actively maintained; last push in 2024.

In the maintainers' words: “Python Backtesting library for trading strategies”

Tags

  • Backtesting
  • Classic
  • Python
  • #backtesting
  • #metaclass
  • #python
  • #trading