Algorithmic trading frameworks for Python#
Next generation algorithmic trading protocol for decentralised markets.
Backtrader is no longer maintained.
Backtrader is one of the oldest and most popular Python based backtesting frameworks. It supports live trading. Direct support for Jupyter notebooks. Read more on BackTrader.
QsTrader is no longer maintained.
QsTrader is a portfolio optimisation backtesting framework for Python. It originally focused on ETFs and stock. Read more on QsTrader.
FastQuant is no longer maintained.
A simplified one-liner backtesting solution built on the top of Backtrader. Read more.
Continued work of the famous ZipLine library that was created by now defunctional Quantopian. Read more.
AlphaPy is a machine learning framework for both speculators and data scientists. It is written in Python mainly with the scikit-learn and pandas libraries, as well as many other helpful packages for feature engineering and visualization. Read more.
bt is a flexible backtesting framework for Python used to test quantitative trading strategies. The framework allows you to easily create strategies that mix and match different Algos. It aims to foster the creation of easily testable, re-usable and flexible blocks of strategy logic to facilitate the rapid development of complex trading strategies. Read more.
Alpha factor library for ZipLine. Read more.
Performance and risk analysis for portfolios. Read more.
Was originally written for Bitstamp. Offers backtesting, paper trading, live trading. Looks abandoned now. Read more.
Lean Engine is an open-source algorithmic trading engine built for easy strategy research, backtesting and live trading. We integrate with common data providers and brokerages so you can quickly deploy algorithmic trading strategies.
The core of the LEAN Engine is written in C#; but it operates seamlessly on Linux, Mac and Windows operating systems. It supports algorithms written in Python 3.8 or C#. Lean drives the web-based algorithmic trading platform QuantConnect.
Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram or webUI. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning.
Gekko is no longer maintainer.
Gekko is an open source platform for automating trading strategies over bitcoin markets.