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 3 days ago |
GitHub stars, last 30 days
Daily snapshots since 2026-09-12 (up to 30 days): +779 over the period, now 49,265. 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
High-frequency trading and market-making backtesting in Rust and Python
High-performance C++/Python quant framework for composable backtesting
Fast, transparent Python framework for backtesting quantitative strategies