Ross ROSS = Recommend OSS · open-source software intelligence for agents

mementum/backtrader

Python Backtesting library for trading strategies observed · 2026-08-28

github.com/mementum/backtrader · homepage · Python · GPL-3.0 (copyleft) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4253
  • days_rel: n/a
  • days_push: 744
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

22978 stars · 5248 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Backtrader is a feature-rich Python framework for backtesting trading strategies and live trading, with built-in indicators, data feeds, brokers, and performance analyzers. It lets users write reusable strategies and indicators while handling the event-driven execution engine, plotting, and broker simulation infrastructure.

Use cases

  • backtest a moving average crossover strategy on historical stock data
  • simulate trading strategies with market, limit, stop, and bracket orders
  • test strategies across multiple timeframes and multiple data feeds
  • connect to Interactive Brokers or Oanda for live trading
  • compute technical indicators like RSI, MACD, and SMA over price series
  • analyze strategy performance with returns and trade analyzers
  • resample or replay daily bars into intraday chunks

When to choose

  • you want a batteries-included Python backtesting engine with 120+ built-in indicators
  • you need both backtesting and live trading through the same codebase
  • you want built-in charting and performance analyzers without extra tooling
  • you prefer a self-contained library with minimal external dependencies

When to avoid

  • you need actively maintained software with recent Python version guarantees
  • you require vectorized backtesting at scale for large parameter sweeps
  • you need modern broker integrations beyond community-maintained third-party extensions
  • you want a lightweight custom backtester you fully control

Facets

framework · maturity maintenance

trading simulation data-visualization benchmarking fintech data-science python cross-platform backtesting algorithmic-trading technical-analysis indicators live-trading interactive-brokers oanda finance trading python

7 sources

Member repositories

RepositoryRoleHealth v2
mementum/backtradermain32

For agents

markdown · JSON · MCP: product_card(name="mementum/backtrader")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem