← All projects
Finance & trading

Qlib

A research platform from Microsoft for using AI to study and test stock-investment strategies.

Research-backed

What it does

Qlib helps researchers use machine learning for "quant" investing, which means making investment decisions with data and models. It covers the whole process: getting market data, training models, and testing strategies on past data.

Its makers have added RD-Agent, a related tool that uses AI to automate parts of this research. Results on past data don't guarantee future returns.

Who it's for

Researchers and developers working on data-driven investing.

Can I use it without coding?

Developers only. A Python platform that needs programming and data skills. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it