backtrader is a Python framework for developing, backtesting, and running trading strategies. Its Cerebro engine coordinates strategies, data feeds, brokers, indicators, analyzers, and execution. Developers can combine multiple strategies, instruments, and timeframes while resampling or replaying market data. The framework includes a large indicator library, custom indicator support, analyzers, position sizing, commissions, and trading calendars. Its broker simulation supports market, limit, stop, trailing, OCO, and bracket-style orders along with slippage and volume filling. Backtrader can also work with live data and brokerage integrations and provides integrated charting for strategy analysis.

Features

  • Trading strategy backtesting and live execution
  • Multiple strategies, feeds, and timeframes
  • Integrated indicators and custom indicators
  • Broker and order execution simulation
  • Performance analyzers and position sizing
  • Data resampling, replaying, and plotting

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

GNU General Public License version 3.0 (GPLv3)

Follow backtrader

backtrader Web Site

Other Useful Business Software
Veeam Data Platform v13.1 Icon
Veeam Data Platform v13.1

Move workloads across hypervisors and clouds with no vendor lock-in. Try VDP free today.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of backtrader!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2026-08-17