← All tools · Guides

Open-source quant tools by job: data, backtest, indicators, performance, portfolio, agents

Name the job first. Then install one tool for that job.

Short answer: a quant stack is several jobs, not one product: get data, test a strategy, compute indicators, judge the result, and split the money. You do not install all of them on day one. Pick one data library and one backtester, run one simple strategy, and add the rest only when that loop works. If you are still choosing the order, start with how to choose AI quant tools.

Each group below lists a few widely used open-source projects. The one-line descriptions were checked against the projects' own READMEs on 13 Oct 2026. Stars and maintenance status are read from GitHub and refresh with the daily snapshot. This site has no commercial relationship with these projects. The same list in Chinese is the Chinese tool list.

01 · Data: get prices first

Everything later depends on data. For personal research, start with a free library. Move to a paid source when that is not stable enough.

ToolWhat it isGitHub starsMaintenance
akshareFree library that aggregates data from public finance sites, mainly Chinese markets and macro data23.1kLast commit 4 days ago
yfinanceFree library that reads Yahoo Finance's public endpoints, suited to US stock research25.6kCommits today
OpenBBOpen-source connector that attaches data vendors to one interface. It does not produce data itself74.8kLast commit 3 days ago

How to choose among the data libraries, including the paid EODHD APIs service, is the yfinance, AKShare, OpenBB, and EODHD guide. A worked daily update into SQLite is the daily price pipeline. The hands-on AKShare walkthrough for China A-shares is AKShare into SQLite. The same walkthrough in Chinese is in Chinese. Putting EODHD daily bars on that same table is the EODHD walkthrough. That walkthrough is not the four-library comparison above.

02 · Backtesting and trading frameworks: test a strategy

Run a strategy on history. Frameworks differ mainly in speed, which markets they cover, and whether they can send live orders.

ToolWhat it isGitHub starsMaintenance
backtraderBacktesting and live-trading platform written in Python. The repository has been quiet for a long time23.6kNo commits in over six months
vnpyOpen-source quant trading system framework written in Python (VeighNa)46.1kCommits today
QlibMicrosoft's open-source AI quant platform, covering data processing, model training, and backtesting49.7kLast commit 5 days ago
nautilus_traderAlgorithmic trading engine with a Rust core. Strategies are written in Python. Backtest and live trading share one codebase30.9kCommits today
vectorbtVectorized backtesting and strategy research toolkit built on pandas, NumPy, and Numba. There is a separate paid PRO edition9.6kLast commit 4 days ago
LeanQuantConnect's open-source algorithmic trading engine, for backtests and live trading, with strategies in Python or C#22.3kCommits today

backtrader still runs, and its repository has been quiet for a long time, so a new project you expect to keep is better on a framework that is still maintained. The nine-framework comparison, including vnpy, RQAlpha, Qlib, and vectorbt, is how to choose a backtesting framework. A shorter note on backtrader alone is backtrader and four alternatives. A worked A-share example is the first backtrader strategy. The same article in Chinese is the Chinese edition. The Qlib install and first Alpha158 run are the Qlib walkthrough. More frameworks are in the backtesting category.

03 · Technical indicators: moving averages, MACD, and the rest

You do not have to write the formulas. Both libraries calculate indicators on price data.

ToolWhat it isGitHub starsMaintenance
TA-Lib PythonPython wrapper for the TA-Lib technical analysis library, with more than 150 indicators12.3kCommits today
taTechnical analysis library based on pandas and NumPy, implementing 43 indicators5.2kNo commits in over six months

04 · Factors and performance: was the strategy any good

A finished backtest is the start. These libraries ask whether a factor predicted anything, and what the returns and drawdowns look like.

ToolWhat it isGitHub starsMaintenance
alphalens-reloadedLibrary for analyzing how well stock factors predicted returns. Community-maintained fork of alphalens677Commits today
pyfolio-reloadedPortfolio and risk analysis library. Community-maintained fork of pyfolio617Commits today
quantstatsPortfolio performance analysis library aimed at quant research7.8kLast commit 30 days ago

05 · Portfolio optimization: how to split the money

After you have chosen the names, decide how much goes to each.

ToolWhat it isGitHub starsMaintenance
PyPortfolioOptPortfolio optimization library, including mean-variance optimization, Black-Litterman, and hierarchical risk parity6.1kLast commit 4 months ago
Riskfolio-LibLibrary for portfolio optimization and strategic asset allocation4.6kLast commit 5 days ago
skfolioPortfolio optimization library built on scikit-learn. Portfolio models can be cross-validated2.6kCommits today

How the three portfolio libraries differ is PyPortfolioOpt, Riskfolio-Lib, and skfolio. More are in the risk and portfolio category.

06 · AI agents: let a language model help with research

Several language-model roles split the analysis. They fit as research assistants. They should not place orders for you.

ToolWhat it isGitHub starsMaintenance
TradingAgentsMulti-agent LLM framework for financial trading. The project describes itself as research116.2kLast commit 11 days ago
TradingAgents-astockA-share multi-agent research framework adapted from TradingAgents, under Apache-2.0, for research and teaching3.8kLast commit 2 days ago
Vibe-TradingPersonal trading agent with research and backtesting tools36.8kCommits today

Which of the three research agents fits which job is TradingAgents, TradingAgents-CN, and Vibe-Trading. More are in the LLM agents category. Market-app assistants, a general model, platform AI factors, and open-source research projects are sorted in how to choose AI stock-picking tools. That page is not a language version of this list.

07 · Trading bots are a different job

The tools above help you reach a conclusion. A trading bot sends orders. A mistake there is real money, so the choice is a different article. Freqtrade, OctoBot, Jesse, CloddsBot, and OKX's toolkit are compared in how to choose a trading bot. The same comparison in Chinese is how to choose a trading bot (Chinese). For an agent that talks to OKX, see OKX Agent Trade Kit: demo keys and read-only mode come before any live permission. More bots are in the trading bots category.

08 · Where to start

The study order around this list is the beginner learning path. The full English directory, with maintenance status on every project, starts at all tools.

This is not investment advice. Features and licences follow each project's own docs. A backtest is not a forecast.