Backtrader
The facts below are what the maker publishes about Backtrader, checked and dated. Our editors have not written about it yet.
Plans and prices
From Backtrader's own pricing page, checked 14 Nov 2026.
| Plan | Price | What it gives you |
|---|---|---|
| GPLv3+ | Free | redistribute and/or modify under GPLv3 or later · no warranty |
The facts
Each one read from Backtrader's own pages, with the date it was checked.
What it does
- Analyzers
- Built-in performance analyzers include TimeReturns, TradeAnalyzer, SharpeRatio, VWR, and SQN.checked 14 Nov 2026
- Audience
- PyPI lists the intended audience as developers and the financial and insurance industry, and marks the project Production/Stable.checked 14 Nov 2026
- Current release
- The current PyPI release is 1.9.78.123, described as a BackTesting Engine, and that wheel was uploaded on April 19, 2023.checked 14 Nov 2026
- Data feeds
- Built-in feeds include CSV, database sources, Yahoo Finance, Interactive Brokers, and Oanda v1, and multiple feeds and timeframes can run together.checked 14 Nov 2026
- IB live limit
- Interactive Brokers live data and trading need the IbPy module, and strategies should be tested on a paper-trading account or the TWS demo before production.checked 14 Nov 2026
- Indicators
- It ships more than 122 indicators, including SMA, EMA, MACD, Stochastic, and RSI, and it integrates ta-lib.checked 14 Nov 2026
- Install
- The core package is self-contained with no external dependencies and is installed with pip install backtrader; plotting is an extra.checked 14 Nov 2026
- Live brokers
- Live trading is supported with Interactive Brokers, Oanda v1, and VisualChart, plus external brokers including Alpaca, Oanda v2, and ccxt.checked 14 Nov 2026
- Oanda limit
- The built-in Oanda integration needs oandapy and is REST-only, because v20 did not support streaming when it was implemented.checked 14 Nov 2026
- Order types
- The included broker supports market, limit, stop, stop-limit, trailing-stop, OCO, bracket, and market-on-close orders, and both long and short selling.checked 14 Nov 2026
- Plotting
- Plotting is a single customizable command and requires matplotlib, with a stated minimum version of 1.4.1.checked 14 Nov 2026
- Purpose
- Backtrader is a Python framework for backtesting and trading so users can write reusable strategies, indicators, and analyzers.checked 14 Nov 2026
- Python versions
- It requires Python 3.2 or newer and also runs on pypy and pypy3, but plotting is unavailable there because matplotlib is not supported under pypy.checked 14 Nov 2026
- Support
- The official community is disabled because it was abused, and the site points people to Stack Overflow questions tagged backtrader.checked 14 Nov 2026
Alternatives to Backtrader
- 1
NinjaTrader
Free planAndroidiOSWebmacOS8.0From $99 a month - 2
Composer
Free planiOSWebAPI7.5From $10 a month - 3
QuantConnect
Free planWebLinuxmacOSSelf-hosted6.9Free plan - 4
Portfolio Visualizer
Free planWeb6.8From $30 a month - 5
Portfolio123
Free planWebAPI6.7From $25 a month - 6
Investor/RT
LinuxmacOSWindows6.4From $10 a month