Home / Backtesting & trading frameworks
Qlib
AI-oriented quantitative investment platform with full ML pipeline
What it is
An open-source, AI-oriented quantitative investment platform from Microsoft, written in Python. It provides a complete machine learning pipeline covering data processing, model training, and back-testing, and addresses the full chain of quantitative investment, including alpha research. Researchers and practitioners building ML-driven trading strategies will find it useful, and it pairs with the related RD-Agent project for automated factor mining and model optimization. It is a research-oriented framework rather than an out-of-the-box trading product, so users should expect to write code and configure data pipelines themselves.
At a glance
RecommendedOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Professional quants |
|---|---|
| Used for | Backtesting, Strategy research |
| Markets | China A-shares, Multi-market |
| Stack | Python |
| Learning curve | Steep learning curve |
| Practical value | High practical value |
| Cost | Free and open source |
| Hardware | GPU optional |
| Maintenance | Last commit 27 days ago |
Popularity snapshots
Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +823 , latest 50,739. Gaps mean no snapshot was taken that day.
An AI-oriented Quantitative Investment Platform by Microsoft. Full ML pipeline of data processing, model training, back-testing; and covers the entire chain of quantitative investment: alph
Similar tools
Vectorized Python backtesting and strategy research toolkit
Event-driven backtesting engine for Python trading algorithms
Iterative trading strategy research framework with walk-forward testing
Research framework for RL-enhanced Avellaneda-Stoikov market making
Python library of quantitative finance building blocks
Open-source reinforcement learning platform for quantitative trading