# Qlib

> Microsoft's open source AI platform for quantitative investment research

Source: https://talira.ai/catalog/qlib-v98z2m26
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Framework
- Categories: [business / finance / algorithmic trading](https://talira.ai/categories/business/finance/algorithmic-trading), [languages / python](https://talira.ai/categories/languages/python)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Microsoft](https://talira.ai/orgs/microsoft.md)
- Funding: public company (NASDAQ:MSFT)[^2]

Qlib is Microsoft's open source, AI-oriented platform for quantitative investment, covering the path from exploring ideas to running strategies in production. It supports supervised learning, market dynamics modelling and reinforcement learning. Its sister project RD-Agent uses LLM agents to automate factor mining and model optimisation.

## Links

- GitHub: https://github.com/microsoft/qlib
- Docs: https://qlib.readthedocs.io/en/latest/

## Problems it solves

- backtest a machine learning trading strategy in Python
- research stock alpha factors with AI
- quant investment research platform in Python

## Features

- supervised learning, market dynamics modelling and RL for quant research
- research workflows from ideas to production
- LLM-based automation through the sister project RD-Agent

## Trust

Overall: 0.61 out of 1.
Signals: maintenance 0.48, adoption 0.94, momentum 0.85, community 0.88, backing 0.55, extensibility 0.00.

- last commit 52 days ago
- 4 commits in the last 90 days
- latest release v0.9.8 52 days ago
- 50.7k GitHub stars
- 154 contributors
- backed by Microsoft
- funding: public company (NASDAQ:MSFT)

## Alternatives

- [LEAN (QuantConnect)](https://talira.ai/catalog/lean-quantconnect-hxzb5g48.md): Open source algorithmic trading engine for backtesting and live trading in Python and C#
- [abu (阿布量化)](https://talira.ai/catalog/abu-8mgvvvr5.md): Open source Python quantitative trading system with backtesting and machine-learning strategy optimization
- [Freqtrade](https://talira.ai/catalog/freqtrade-vmhfjxx5.md): A free, open source crypto trading bot in Python
- [QuantDinger](https://talira.ai/catalog/quantdinger-4gzjx5cd.md): Self-hosted AI trading platform: Python strategies, AI market research, backtesting and paper or live trading
- [Qbot](https://talira.ai/catalog/qbot-g42yy8nv.md): Python platform for quantitative trading research: data, AI strategies, backtesting, paper trading and automated live trading
- [VeighNa (vn.py)](https://talira.ai/catalog/veighna-vn-py-3kktswea.md): Open source Python framework and platform for quantitative trading

## Sources

[^1]: https://github.com/microsoft/qlib/blob/main/LICENSE (checked 29 Nov 2026)
[^2]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
