Backtesting.py
Lightweight Python library for backtesting trading strategies on OHLC data
About Backtesting.py
Backtesting.py is a small open-source Python library that runs strategies on pandas data and returns performance stats and interactive Bokeh plots. It is deliberately minimal, with built-in optimization and a simple strategy class. Good for quick idea testing, less so for portfolio-level or multi-asset work.
Pros
- Very easy to learn
- Interactive plots out of the box
- Built-in parameter optimization
Cons
- Single-instrument focus
- No live trading
- Basic order and portfolio modeling
Tags
More in Backtesting & Strategy Research
See allAmiBroker
Backtesting & Strategy ResearchWindows charting and backtesting program with a fast array-based AFL language
Backtrader
Backtesting & Strategy ResearchFree Python library for backtesting and live-trading strategies
Composer
Backtesting & Strategy ResearchNo-code platform for building, backtesting and auto-trading investing strategies
Freqtrade
Automation & Trading BotsOpen-source Python crypto trading bot with backtesting and hyperopt
Jesse
Automation & Trading BotsOpen-source Python framework for researching and live-trading crypto strategies
MultiCharts
Backtesting & Strategy ResearchWindows charting and automated strategy platform with EasyLanguage support