microsoft/qlib

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 original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

[](https://pypi.org/project/pyqlib/#files) [](https://pypi.org/project/pyqlib/#files) [](https://pypi.org/project/pyqlib/#history) [](https://pypi.org/project/pyqlib/) [](https://github.com/microsoft/qlib/actions) [](https://qlib.readthedocs.io/en/latest/?badge=latest) [](LICENSE) [](https://gitter.im/Microsoft/qlib?utmsource=badge&utmmedium=badge&utmcampaign=pr-badge&utmcontent=badge) 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. Follow the artifact loading migration guide before upgrading. Merging into main affects source installs before a new PyPI release; this change remains unreleased until the first tagged release containing it. That release's versioned upgrade notes should link to the same guide. Recent released features We are excited to announce the release of RD-Agent📢, a powerful tool that supports automated factor mining and model optimization in quant investment R&D. RD-Agent is now available on GitHub, and we welcome your star🌟! To learn more, please…

microsoft/qlib on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-31T05:38:12.112Z

Inside the original README — Document outline
  1. Unreleased breaking change: artifact loading
  2. :newspaper: What's NEW!   :sparklingheart:
  3. Introducing : LLM-Based Autonomous Evolving Agents for Industrial Data-Driven R&D
  4. Plans
  5. Framework of Qlib
  6. Quick Start
  7. Installation
  8. Install with pip
  9. Install from source
  10. Data Preparation
  11. Get with module
  12. Get from source

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

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.

Repository facts

Owner
microsoft
Primary language
Python
Stars
49,858
Forks
7,870
Open issues + pull requests
512
License
MIT
Archived
No
Default branch
main
Created
2020-08-14T06:46:00.000Z
Last push
2026-10-30T05:12:38.000Z

Topics and intended use

Owner-supplied topics: algorithmic-trading, auto-quant, deep-learning, finance, fintech, investment, machine-learning, paper, platform, python, quant, quant-dataset, quant-models, quantitative-finance, quantitative-trading, research, research-paper, stock-data

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-10-31T12:19:22.904Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent