Skip to content
r.

qlib

microsoft/qlib · Public GitHub repository

Qlib is an AI-oriented Quant investment platform that aims to use AI tech to empower Quant Research, from exploring ideas to implementing productions. Qlib supports diverse ML modeling paradigms, including supervised learning, market dynamics modeling, and RL, and is now equipped with https://github.com/microsoft/RD-Agent to automate R&D process.

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

qlib live demo screenshot
Captured from the live demo · 2026-11-23

About this project

Author-written excerpt from the project README.

New source builds introduce a backward-incompatible safety default: recorder loads are restricted. If you reload saved models/datasets, resume online or delayed training, or use DDG-DA, verify the artifact writer and storage permissions before opting in with trusted=True (CLI: --trusted=True). Fresh in-memory training and supported data-only reads need no opt-in. HIST mappings and high-frequency cache paths also have migration requirements.

Requirements and intended audience

New source builds introduce a backward-incompatible safety default: recorder loads are restricted. If you reload saved models/datasets, resume online or delayed training, or use DDG-DA, verify the artifact writer and storage permissions before opting in with trusted=True (CLI: --trusted=True). Fresh in-memory training and supported data-only reads need no opt-in. HIST mappings and high-frequency cache paths also have migration requirements.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-24. Source: https://github.com/microsoft/qlib/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-04. Saved release: v0.9.7 · 2025-08-15. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories