Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Q

qlib

> 数据库
Open source

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 supp

46.9K stars0 likes2 views
WebsiteGitHub

About

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 supp

:newspaper: What's NEW!   :sparkling_heart:

Recent released features

Introducing : LLM-Based Autonomous Evolving Agents for Industrial Data-Driven R&D

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 visit the RD-Agent repository. We have prepared several public demo videos for you:

Scenario Demo video (English) Demo video (中文)
Quant Factor Mining YouTube YouTube
Quant Factor Mining from reports YouTube YouTube
Quant Model Optimization YouTube YouTube
  • 📃Paper: R&D-Agent-Quant: A Multi-Agent Framework for Data-Centric Factors and Model Joint Optimization
  • 👾Code: https://github.com/microsoft/RD-Agent/
bibtex
@misc{li2025rdagentquant,
    title={R\&D-Agent-Quant: A Multi-Agent Framework for Data-Centric Factors and Model Joint Optimization},
    author={Yuante Li and Xu Yang and Xiao Yang and Minrui Xu and Xisen Wang and Weiqing Liu and Jiang Bian},
    year={2025},
    eprint={2505.15155},
    archivePrefix={arXiv},
    primaryClass={cs.AI}
}

Feature Status
R&D-Agent-Quant Published Apply R&D-Agent to Qlib for quant trading
BPQP for End-to-end learning 📈Coming soon!(Under review)
🔥LLM-driven Auto Quant Factory🔥 🚀 Released in ♾️RD-Agent on Aug 8, 2024
KRNN and Sandwich models :chart_with_upwards_trend: Released on May 26, 2023
Release Qlib v0.9.0 :octocat: Released on Dec 9, 2022
RL Learning Framework :hammer: :chart_with_upwards_trend: Released on Nov 10, 2022. #1332, #1322, #1316,#1299,#1263, #1244, #1169, #1125, #1076
HIST and IGMTF models :chart_with_upwards_trend: Released on Apr 10, 2022
Qlib notebook tutorial 📖 Released on Apr 7, 2022
Ibovespa index data :rice: Released on Apr 6, 2022
Point-in-Time database :hammer: Released on Mar 10, 2022
Arctic Provider Backend & Orderbook data example :hammer: Released on Jan 17, 2022
Meta-Learning-based framework & DDG-DA :chart_with_upwards_trend: :hammer: Released on Jan 10, 2022
Planning-based portfolio optimization :hammer: Released on Dec 28, 2021
Release Qlib v0.8.0 :octocat: Released on Dec 8, 2021
ADD model :chart_with_upwards_trend: Released on Nov 22, 2021
ADARNN model :chart_with_upwards_trend: Released on Nov 14, 2021
TCN model :chart_with_upwards_trend: Released on Nov 4, 2021
Nested Decision Framework :hammer: Released on Oct 1, 2021. Example and Doc
Temporal Routing Adaptor (TRA) :chart_with_upwards_trend: Released on July 30, 2021
Transformer & Localformer :chart_with_upwards_trend: Released on July 22, 2021
Release Qlib v0.7.0 :octocat: Released on July 12, 2021
TCTS Model :chart_with_upwards_trend: Released on July 1, 2021
Online serving and automatic model rolling :hammer: Released on May 17, 2021
DoubleEnsemble Model :chart_with_upwards_trend: Released on Mar 2, 2021
High-frequency data processing example :hammer: Released on Feb 5, 2021
High-frequency trading example :chart_with_upwards_trend: Part of code released on Jan 28, 2021
High-frequency data(1min) :rice: Released on Jan 27, 2021
Tabnet Model :chart_with_upwards_trend: Released on Jan 22, 2021

Features released before 2021 are not listed here.

Qlib is an open-source, AI-oriented quantitative investment platform that aims to realize the potential, empower research, and create value using AI technologies in quantitative investment, from exploring ideas to implementing productions. Qlib supports diverse machine learning modeling paradigms, including supervised learning, market dynamics modeling, and reinforcement learning.

An increasing number of SOTA Quant research works/papers in diverse paradigms are being released in Qlib to collaboratively solve key challenges in quantitative investment. For example, 1) using supervised learning to mine the market's complex non-linear patterns from rich and heterogeneous financial data, 2) modeling the dynamic nature of the financial market using adaptive concept drift technology, and 3) using reinforcement learning to model continuous investment decisions and assist investors in optimizing their trading strategies.

It contains the full ML pipeline of data processing, model training, back-testing; and covers the entire chain of quantitative investment: alpha seeking, risk modeling, portfolio optimization, and order execution. For more details, please refer to our paper "Qlib: An AI-oriented Quantitative Investment Platform".

Frameworks, Tutorial, Data & DevOps Main Challenges & Solutions in Quant Research
  • Plans
  • Framework of Qlib
  • Quick Start
    • Installation
    • Data Preparation
    • Auto Quant Research Workflow
    • Building Customized Quant Research Workflow by Code
  • Quant Dataset Zoo
  • Learning Framework
  • More About Qlib
  • Offline Mode and Online Mode
    • Performance of Qlib Data Server
  • Related Reports
  • Contact Us
  • Contributing
  • Main Challenges & Solutions in Quant Research
    • Forecasting: Finding Valuable Signals/Patterns
      • Quant Model (Paper) Zoo
        • Run a Single Model
        • Run Multiple Models
    • Adapting to Market Dynamics
    • Reinforcement Learning: modeling continuous decisions
  • Plans

    New features under development(order by estimated release time). Your feedbacks about the features are very important.

    Framework of Qlib

    The high-level framework of Qlib can be found above(users can find the detailed framework of Qlib's design when getting into nitty gritty). The components are designed as loose-coupled modules, and each component could be used stand-alone.

    Qlib provides a strong infrastructure to support Quant research. Data is always an important part. A strong learning framework is designed to support diverse learning paradigms (e.g. reinforcement learning, supervised learning) and patterns at different levels(e.g. market dynamic modeling). By modeling the market, trading strategies will generate trade decisions that will be executed. Multiple trading strategies and executors in different levels or granularities can be nested to be optimized and run together. At last, a comprehensive analysis will be provided and the model can be served online in a low cost.

    Quick Start

    This quick start guide tries to demonstrate

    1. It's very easy to build a complete Quant research workflow and try your ideas with Qlib.
    2. Though with public data and simple models, machine learning technologies work very well in practical Quant investment.

    Here is a quick demo shows how to install Qlib, and run LightGBM with qrun. But, please make sure you have already prepared the data following the instruction.

    Installation

    This table demonstrates the supported Python version of Qlib: |

    Issues· 482 open

    View all issuesOpen on GitHub
    • #1801

      How to set region in backtest ?

      questionUpdated Sep 28, 2026
    • #2358

      risk_analysis max_drawdown ignores a loss in the first period

      Updated Sep 26, 2026
    • #2354

      collect_info.py does not start: pkg_resources is gone from setuptools 82

      Updated Sep 20, 2026
    • #2352

      IdxMax and IdxMin return the position of NaN instead of the extreme value

      Updated Sep 20, 2026
    • #2344

      A股数据集社区维护版本

      Updated Sep 18, 2026
    • #2319

      DailyBatchSampler in pytorch_gats_ts.py yields cross-day batches: TSDataSampler.get_index() swaps index labels but not row order

      Updated Sep 7, 2026
    • #2252

      qlib.workflow: FileLock and _log_uncommitted_code both unsafe vs CWD

      bugUpdated Sep 3, 2026
    • #1278

      Add CI for jupyter notebook example `workflow_by_code.ipynb`

      enhancementgood first issueUpdated Sep 1, 2026
    • #2320

      Prevent Margin Leaks & Surprise LLM Bills: Add a Hybrid Spend Firewall

      Updated Aug 17, 2026
    • #2315

      Benchmark weighting: default backtest compares an equal-weighted portfolio against a cap-weighted index

      Updated Aug 11, 2026

    > Tags

    Pythonalgorithmic-tradingauto-quantdeep-learningfinance

    No comments yet. Be the first to share.

    > Details

    PublishedAug 1, 2026
    UpdatedSep 29, 2026
    Category数据库
    PricingOpen source

    > Related tools

    P
    PostgreSQL
    功能强大的开源关系型数据库
    R
    Redis
    内存数据结构存储,常用作缓存与队列
    M
    MySQL
    广泛使用的开源关系型数据库