We are collecting a list of resources papers, softwares, books, articles for finding, developing, and running systematic trading (quantitative trading) strategies.
- 97 libraries and packages for research and live trading
- 40+ strategies described by institutionals and academics
- 55 books for beginners and professionals
- 23 videos and interviews
- And also some blogs and courses
Visit our comprehensive collection at paperswithbacktest.com for exclusive content!
Click here to see the full table of content
You can help by submitting an issue with suggestions and by sharing on Twitter:
List of 97 libraries and packages implementing trading bots, backtesters, indicators, pricers, etc. Each library is categorized by its programming language and ordered by descending populatrity (number of stars).
Repository | Description | Stars | Made with |
---|---|---|---|
vnpy | Python-based open source quantitative trading system development framework, officially released in January 2015, has grown step by step into a full-featured quantitative trading platform | GitHub stars | made-with-python |
zipline | Zipline is a Pythonic algorithmic trading library. It is an event-driven system for backtesting. | GitHub stars | made-with-python |
backtrader | Event driven Python Backtesting library for trading strategies | GitHub stars | made-with-python |
QUANTAXIS | QUANTAXIS 支持任务调度 分布式部署的 股票/期货/期权/港股/虚拟货币 数据/回测/模拟/交易/可视化/多账户 纯本地量化解决方案 | GitHub stars | made-with-python |
QuantConnect | Lean Algorithmic Trading Engine by QuantConnect (Python, C#) | GitHub stars | made-with-python |
Rqalpha | A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities | GitHub stars | made-with-python |
finmarketpy | Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians) | GitHub stars | made-with-python |
backtesting.py | Backtesting.py is a Python framework for inferring viability of trading strategies on historical (past) data. Improved upon the vision of Backtrader, and by all means surpassingly comparable to other accessible alternatives, Backtesting.py is lightweight, fast, user-friendly, intuitive, interactive, intelligent and, hopefully, future-proof. | GitHub stars | made-with-python |
zvt | Modular quant framework | GitHub stars | made-with-python |
WonderTrader | WonderTrader——量化研发交易一站式框架 | GitHub stars | made-with-python |
nautilus_trader | A high-performance algorithmic trading platform and event-driven backtester | GitHub stars | made-with-python |
PandoraTrader | High-frequency quantitative trading platform based on c++ development, supporting multiple trading APIs and cross-platform | GitHub stars | made-with-c++ |
HFTBacktest | Highly precise backtest on HFT data in Python+Numba | GitHub stars | made-with-python |
aat | An asynchronous, event-driven framework for writing algorithmic trading strategies in python with optional acceleration in C++. It is designed to be modular and extensible, with support for a wide variety of instruments and strategies, live trading across (and between) multiple exchanges. | GitHub stars | made-with-python |
sdoosa-algo-trade-python | This project is mainly for newbies into algo trading who are interested in learning to code their own trading algo using python interpreter. | GitHub stars | made-with-python |
lumibot | A very simple yet useful backtesting and sample based live trading framework (a bit slow to run...) | GitHub stars | made-with-python |
quanttrader | Backtest and live trading in Python. Event based. Similar to backtesting.py. | GitHub stars | made-with-python |
gobacktest | A Go implementation of event-driven backtesting framework | GitHub stars | made-with-go |
FlashFunk | High Performance Runtime in Rust | GitHub stars | made-with-rust |
Repository | Description | Stars | Made with |
---|---|---|---|
vectorbt | vectorbt takes a novel approach to backtesting: it operates entirely on pandas and NumPy objects, and is accelerated by Numba to analyze any data at speed and scale. This allows for testing of many thousands of strategies in seconds. | GitHub stars | made-with-python |
pysystemtrade | Systematic Trading in python from book Systematic Trading by Rob Carver | GitHub stars | made-with-python |
bt | Flexible backtesting for Python based on Algo and Strategy Tree | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
Freqtrade | 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. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning. | GitHub stars | made-with-python |
Jesse | Jesse is an advanced crypto trading framework which aims to simplify researching and defining trading strategies. | GitHub stars | made-with-python |
OctoBot | Cryptocurrency trading bot for TA, arbitrage and social trading with an advanced web interface | GitHub stars | made-with-python |
Kelp | Kelp is a free and open-source trading bot for the Stellar DEX and 100+ centralized exchanges | GitHub stars | made-with-go |
openlimits | A Rust high performance cryptocurrency trading API with support for multiple exchanges and language wrappers. | GitHub stars | made-with-rust |
bTrader | Triangle arbitrage trading bot for Binance | GitHub stars | made-with-rust |
crypto-crawler-rs | Crawl orderbook and trade messages from crypto exchanges | GitHub stars | made-with-rust |
Hummingbot | A client for crypto market making | GitHub stars | made-with-python |
cryptotrader-core | Simple to use Crypto Exchange REST API client in rust. | GitHub stars | made-with-rust |
Trading bots and alpha models. Some of them are old and not maintained.
Repository | Description | Stars | Made with |
---|---|---|---|
Blackbird | Blackbird Bitcoin Arbitrage: a long/short market-neutral strategy | GitHub stars | made-with-c++ |
bitcoin-arbitrage | Bitcoin arbitrage - opportunity detector | GitHub stars | made-with-python |
ThetaGang | ThetaGang is an IBKR bot for collecting money | GitHub stars | made-with-typescript |
czsc | 缠中说禅技术分析工具;缠论;股票;期货;Quant;量化交易 | GitHub stars | made-with-python |
R2 Bitcoin Arbitrager | R2 Bitcoin Arbitrager is an automatic arbitrage trading system powered by Node.js + TypeScript | GitHub stars | made-with-typescript |
analyzingalpha | Implementation of simple strategies | GitHub stars | made-with-python |
PyTrendFollow | PyTrendFollow - systematic futures trading using trend following | GitHub stars | made-with-python |
Libraries of indicators to predict future price movements.
Repository | Description | Stars | Made with |
---|---|---|---|
ta-lib | Perform technical analysis of financial market data | GitHub stars | made-with-python |
go-tart | A Go implementation of the [ta-lib]((https://github.com/mrjbq7/ta-lib) with streaming update support | GitHub stars | made-with-go |
pandas-ta | Pandas Technical Analysis (Pandas TA) is an easy to use library that leverages the Pandas package with more than 130 Indicators and Utility functions and more than 60 TA Lib Candlestick Patterns | GitHub stars | made-with-python |
finta | Common financial technical indicators implemented in Pandas | GitHub stars | made-with-python |
ta-rust | Technical analysis library for Rust language | GitHub stars | made-with-rust |
Librairies of financial metrics.
Repository | Description | Stars | Made with |
---|---|---|---|
quantstats | Portfolio analytics for quants, written in Python | GitHub stars | made-with-python |
ffn | A financial function library for Python | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
PyPortfolioOpt | Financial portfolio optimizations in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity | GitHub stars | made-with-python |
Riskfolio-Lib | Portfolio Optimization and Quantitative Strategic Asset Allocation in Python | GitHub stars | made-with-python |
empyrial | Empyrial is a Python-based open-source quantitative investment library dedicated to financial institutions and retail investors, officially released in March 2021 | GitHub stars | made-with-python |
Deepdow | Python package connecting portfolio optimization and deep learning. Its goal is to facilitate research of networks that perform weight allocation in one forward pass. | GitHub stars | made-with-python |
spectre | Portfolio Optimization and Quantitative Strategic Asset Allocation in Python | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
tf-quant-finance | High-performance TensorFlow library for quantitative finance from Google | GitHub stars | made-with-python |
FinancePy | A Python Finance Library that focuses on the pricing and risk-management of Financial Derivatives, including fixed-income, equity, FX and credit derivatives | GitHub stars | made-with-python |
PyQL | Python wrapper of the famous pricing library QuantLib | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
pyfolio | Portfolio and risk analytics in Python | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
ccxt | A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges | GitHub stars | made-with-python |
Ib_insync | Python sync/async framework for Interactive Brokers. | GitHub stars | made-with-python |
Coinnect | Coinnect is a Rust library aiming to provide a complete access to main crypto currencies exchanges via REST API. | GitHub stars | made-with-rust |
PENDAX | Javascript SDK for Trading, Data, and Websockets for FTX, FTXUS, OKX, Bybit, & More. | GitHub stars | made-with-javascript |
Repository | Description | Stars | Made with |
---|---|---|---|
OpenBB Terminal | Investment Research for Everyone, Anywhere. | GitHub stars | made-with-python |
TuShare | TuShare is a utility for crawling historical data of China stocks | GitHub stars | made-with-python |
yfinance | yfinance offers a threaded and Pythonic way to download market data from Yahoo!R finance. | GitHub stars | made-with-python |
AkShare | AKShare is an elegant and simple financial data interface library for Python, built for human beings! | GitHub stars | made-with-python |
pandas-datareader | Up to date remote data access for pandas, works for multiple versions of pandas. | GitHub stars | made-with-python |
Quandl | Get millions of financial and economic dataset from hundreds of publishers via a single free API. | GitHub stars | made-with-python |
findatapy | findatapy creates an easy to use Python API to download market data from many sources including Quandl, Bloomberg, Yahoo, Google etc. using a unified high level interface. | GitHub stars | made-with-python |
Investpy | Financial Data Extraction from Investing.com with Python | GitHub stars | made-with-python |
Fundamental Analysis Data | Fully-fledged Fundamental Analysis package capable of collecting 20 years of Company Profiles, Financial Statements, Ratios and Stock Data of 20.000+ companies. | GitHub stars | made-with-python |
Wallstreet | Wallstreet: Real time Stock and Option tools | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
Cryptofeed | Cryptocurrency Exchange Websocket Data Feed Handler with Asyncio | GitHub stars | made-with-python |
Gekko-Datasets | Gekko trading bot dataset dumps. Download and use history files in SQLite format. | GitHub stars | made-with-python |
CryptoInscriber | A live crypto currency historical trade data blotter. Download live historical trade data from any crypto exchange. | GitHub stars | made-with-python |
Crypto Lake | High frequency order book & trade data for crypto | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
TensorFlow | Fundamental algorithms for scientific computing in Python | GitHub stars | made-with-python |
Pytorch | Tensors and Dynamic neural networks in Python with strong GPU acceleration | GitHub stars | made-with-python |
Keras | The most user friendly Deep Learning for humans in Python | GitHub stars | made-with-python |
Scikit-learn | Machine learning in Python | GitHub stars | made-with-python |
Pandas | Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more | GitHub stars | made-with-python |
Numpy | The fundamental package for scientific computing with Python | GitHub stars | made-with-python |
Scipy | Fundamental algorithms for scientific computing in Python | GitHub stars | made-with-python |
PyMC | Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Aesara | GitHub stars | made-with-python |
Cvxpy | A Python-embedded modeling language for convex optimization problems. | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
Marketstore | DataFrame Server for Financial Timeseries Data | GitHub stars | made-with-go |
Tectonicdb | Tectonicdb is a fast, highly compressed standalone database and streaming protocol for order book ticks. | GitHub stars | made-with-rust |
ArcticDB (Man Group) | High performance datastore for time series and tick data | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
Ray | An open source framework that provides a simple, universal API for building distributed applications. | GitHub stars | made-with-python |
Dask | Parallel computing with task scheduling in Python with a Pandas like API | GitHub stars | made-with-python |
Incremental (JaneStreet) | Incremental is a library that gives you a way of building complex computations that can update efficiently in response to their inputs changing, inspired by the work of Umut Acar et. al. on self-adjusting computations. Incremental can be useful in a number of applications | GitHub stars | made-with-ocaml |
Man MDF | Data-flow programming toolkit for Python | GitHub stars | made-with-python |
GraphKit | A lightweight Python module for creating and running ordered graphs of computations. | GitHub stars | made-with-python |
Tributary | Streaming reactive and dataflow graphs in Python | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
QLib (Microsoft) | Qlib is an AI-oriented quantitative investment platform, which aims to realize the potential, empower the research, and create the value of AI technologies in quantitative investment. With Qlib, you can easily try your ideas to create better Quant investment strategies. An increasing number of SOTA Quant research works/papers are released in Qlib. | GitHub stars | made-with-python |
FinRL | FinRL is the first open-source framework to demonstrate the great potential of applying deep reinforcement learning in quantitative finance. | GitHub stars | made-with-python |
MlFinLab (Hudson & Thames) | MlFinLab helps portfolio managers and traders who want to leverage the power of machine learning by providing reproducible, interpretable, and easy to use tools. | GitHub stars | made-with-python |
TradingGym | Trading and Backtesting environment for training reinforcement learning agent or simple rule base algo. | GitHub stars | made-with-python |
Stock Trading Bot using Deep Q-Learning | Stock Trading Bot using Deep Q-Learning | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
Facebook Prophet | Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth. | GitHub stars | made-with-python |
statsmodels | Python module that allows users to explore data, estimate statistical models, and perform statistical tests. | GitHub stars | made-with-python |
tsfresh | Automatic extraction of relevant features from time series. | GitHub stars | made-with-python |
pmdarima | A statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function. | GitHub stars | made-with-python |
Repository | Description | Stars | Made with |
---|---|---|---|
D-Tale (Man Group) | D-Tale is the combination of a Flask back-end and a React front-end to bring you an easy way to view & analyze Pandas data structures. | GitHub stars | made-with-python |
mplfinance | Financial Markets Data Visualization using Matplotlib | GitHub stars | made-with-python |
btplotting | btplotting provides plotting for backtests, optimization results and live data from backtrader. | GitHub stars | made-with-python |
List of 40+ academic papers describing original systematic trading strategies. Each strategy is categorized by its asset class and ordered by descending Sharpe ratio.
👉 Strategies are now hosted here.
Previous list of strategies:
Title | Sharpe Ratio | Volatility | Rebalancing | Implementation | Source |
---|---|---|---|---|---|
Time Series Momentum Effect | 0.576 |
20.5% |
Monthly |
QuantConnect | Paper |
Short Term Reversal with Futures | -0.05 |
12.3% |
Weekly |
QuantConnect | Paper |
Title | Sharpe Ratio | Volatility | Rebalancing | Implementation | Source |
---|---|---|---|---|---|
Asset Class Trend-Following | 0.502 |
10.4% |
Monthly |
QuantConnect | Paper |
Momentum Asset Allocation Strategy | 0.321 |
11% |
Monthly |
QuantConnect | Paper |
Title | Sharpe Ratio | Volatility | Rebalancing | Implementation | Source |
---|---|---|---|---|---|
Paired Switching | 0.691 |
9.5% |
Quarterly |
QuantConnect | Paper |
FED Model | 0.369 |
14.3% |
Monthly |
QuantConnect | Paper |
Title | Sharpe Ratio | Volatility | Rebalancing | Implementation | Source |
---|---|---|---|---|---|
Value and Momentum Factors across Asset Classes | 0.155 |
9.8% |
Monthly |
QuantConnect | Paper |
Title | Sharpe Ratio | Volatility | Rebalancing | Implementation | Source |
---|---|---|---|---|---|
Skewness Effect in Commodities | 0.482 |
17.7% |
Monthly |
QuantConnect | Paper |
Return Asymmetry Effect in Commodity Futures | 0.239 |
13.4% |
Monthly |
QuantConnect | Paper |
Momentum Effect in Commodities | 0.14 |
20.3% |
Monthly |
QuantConnect | Paper |
Term Structure Effect in Commodities | 0.128 |
23.1% |
Monthly |
QuantConnect | Paper |
Trading WTI/BRENT Spread | -0.199 |
11.6% |
Daily |
QuantConnect | Paper |
Title | Sharpe Ratio | Volatility | Rebalancing | Implementation | Source |
---|---|---|---|---|---|
Overnight Seasonality in Bitcoin | 0.892 |
20.8% |
Intraday |
QuantConnect | Paper |
Rebalancing Premium in Cryptocurrencies | 0.698 |
27.5% |
Daily |
QuantConnect | Paper |
Title | Sharpe Ratio | Volatility | Rebalancing | Implementation | Source |
---|---|---|---|---|---|
FX Carry Trade | 0.254 |
7.8% |
Monthly |
QuantConnect | Paper |
Dollar Carry Trade | 0.113 |
5.8% |
Monthly |
QuantConnect | Paper |
Currency Momentum Factor | -0.01 |
6.7% |
Monthly |
QuantConnect | Paper |
Currency Value Factor – PPP Strategy | -0.103 |
5% |
Quarterly |
QuantConnect | Paper |
Title | Sharpe Ratio | Volatility | Rebalancing | Implementation | Source |
---|---|---|---|---|---|
Asset Growth Effect | 0.835 |
10.2% |
Yearly |
QuantConnect | Paper |
Short Term Reversal Effect in Stocks | 0.816 |
21.4% |
Weekly |
QuantConnect | Paper |
Reversal During Earnings-Announcements | 0.785 |
25.7% |
Daily |
QuantConnect | Paper |
Size Factor – Small Capitalization Stocks Premium | 0.747 |
11.1% |
Yearly |
QuantConnect | Paper |
Low Volatility Factor Effect in Stocks | 0.717 |
11.5% |
Monthly |
QuantConnect | Paper |
How to Use Lexical Density of Company Filings | 0.688 |
10.4% |
Monthly |
QuantConnect | Paper |
Volatility Risk Premium Effect | 0.637 |
13.2% |
Monthly |
QuantConnect | Paper |
Pairs Trading with Stocks | 0.634 |
8.5% |
Daily |
QuantConnect | Paper |
Crude Oil Predicts Equity Returns | 0.599 |
11.5% |
Monthly |
QuantConnect | Paper |
Betting Against Beta Factor in Stocks | 0.594 |
18.9% |
Monthly |
QuantConnect | Paper |
Trend-following Effect in Stocks | 0.569 |
15.2% |
Daily |
QuantConnect | Paper |
ESG Factor Momentum Strategy | 0.559 |
21.8% |
Monthly |
QuantConnect | Paper |
Value (Book-to-Market) Factor | 0.526 |
11.9% |
Monthly |
QuantConnect | Paper |
Soccer Clubs’ Stocks Arbitrage | 0.515 |
14.2% |
Daily |
QuantConnect | Paper |
Synthetic Lending Rates Predict Subsequent Market Return | 0.494 |
13.7% |
Daily |
QuantConnect | Paper |
Option-Expiration Week Effect | 0.452 |
5% |
Weekly |
QuantConnect | Paper |
Dispersion Trading | 0.432 |
8.1% |
Monthly |
QuantConnect | Paper |
Momentum in Mutual Fund Returns | 0.414 |
13.6% |
Quarterly |
QuantConnect | Paper |
Sector Momentum – Rotational System | 0.401 |
14.1% |
Monthly |
QuantConnect | Paper |
Combining Smart Factors Momentum and Market Portfolio | 0.388 |
8.2% |
Monthly |
QuantConnect | Paper |
Momentum and Reversal Combined with Volatility Effect in Stocks | 0.375 |
17% |
Monthly |
QuantConnect | Paper |
Market Sentiment and an Overnight Anomaly | 0.369 |
3.6% |
Daily |
QuantConnect | Paper |
January Barometer | 0.365 |
7.4% |
Monthly |
QuantConnect | Paper |
R&D Expenditures and Stock Returns | 0.354 |
8.1% |
Yearly |
QuantConnect | Paper |
Value Factor – CAPE Effect within Countries | 0.351 |
20.2% |
Yearly |
QuantConnect | Paper |
12 Month Cycle in Cross-Section of Stocks Returns | 0.34 |
43.7% |
Monthly |
QuantConnect | Paper |
Turn of the Month in Equity Indexes | 0.305 |
7.2% |
Daily |
QuantConnect | Paper |
Payday Anomaly | 0.269 |
3.8% |
Daily |
QuantConnect | Paper |
Pairs Trading with Country ETFs | 0.257 |
5.7% |
Daily |
QuantConnect | Paper |
Residual Momentum Factor | 0.24 |
9.7% |
Monthly |
QuantConnect | Paper |
Earnings Announcement Premium | 0.192 |
3.7% |
Monthly |
QuantConnect | Paper |
ROA Effect within Stocks | 0.155 |
8.7% |
Monthly |
QuantConnect | Paper |
52-Weeks High Effect in Stocks | 0.153 |
19% |
Monthly |
QuantConnect | Paper |
Combining Fundamental FSCORE and Equity Short-Term Reversals | 0.153 |
17.6% |
Monthly |
QuantConnect | Paper |
Betting Against Beta Factor in International Equities | 0.142 |
9.1% |
Monthly |
QuantConnect | Paper |
Consistent Momentum Strategy | 0.128 |
28.8% |
6 Months |
QuantConnect | Paper |
Short Interest Effect – Long-Short Version | 0.079 |
6.6% |
Monthly |
QuantConnect | Paper |
Momentum Factor Combined with Asset Growth Effect | 0.058 |
25.1% |
Monthly |
QuantConnect | Paper |
Momentum Factor Effect in Stocks | -0.008 |
21.8% |
Monthly |
QuantConnect | Paper |
Momentum Factor and Style Rotation Effect | -0.056 |
10% |
Monthly |
QuantConnect | Paper |
Earnings Announcements Combined with Stock Repurchases | -0.16 |
0.1% |
Daily |
QuantConnect | Paper |
Earnings Quality Factor | -0.18 |
28.7% |
Yearly |
QuantConnect | Paper |
Accrual Anomaly | -0.272 |
13.7% |
Yearly |
QuantConnect | Paper |
ESG, Price Momentum and Stochastic Optimization | N/A |
N/A |
Monthly |
Paper | |
The Positive Similarity of Company Filings and Stock Returns | N/A |
N/A |
Monthly |
Paper |
A comprehensive list of 55 books for quantitative traders.
Title | Reviews | Rating |
---|---|---|
My Life as a Quant: Reflections on Physics and Finance - Emanuel Derman | ||
How I Became a Quant: Insights from 25 of Wall Street’s Elite: - Barry Schachter |