Welcome to backtrader!

A feature-rich Python framework for backtesting and trading

backtrader allows you to focus on writing reusable trading strategies, indicators and analyzers instead of having to spend time building infrastructure.

Open Source - GitHub Use, modify, audit and share it. The secret is in the sauce and you are the cook. This is just the tool.

Docs & Blog Check the QuickStart, the extensive documentation, in-depth topics and ideas in the blog.

Community Enabled See what others have already asked, answered & shared. You are the community! Join and be part of it!

Hello Algotrading! See a quick example of a Simple Moving Average Crossover strategy (long-only)