Microsoft Qlib: AI Quant workflow and backtesting

Richard pinged us earlier with Microsoft Qlib and has asked “The Mikes” to investigate. I suspect we’ll see code and Numerairish examples follow. Thought it might be a good idea to also start a user thread where we can centralize questions, answers and insights. For those of us without full-blown HF pipelines can this can check a lot of boxes.

Qlib is an AI-oriented quantitative investment platform, which aims to realize the potential, empower the research, and create the value of AI technologies in quantitative investment. With Qlib, you can easily try your ideas to create better Quant investment strategies.

Qlib documentation:
https://qlib.readthedocs.io/_/downloads/en/latest/pdf/
or,
https://qlib.readthedocs.io/en/latest/

Qlib : An AI-oriented Quantitative Investment Platform (thanks Jrdi):

1 Like

Note to Windows users. You’ll need C++ 14.0 or higher*, else you fail on the “cvxpy==1.0.21”, requirement. Outside of that Install is ezpz and the example workbook on the git page works as expected.

I am trying to do this in colab and the default notebook workflow_by_code.ipynb seems to be working well. Models and training loop are highly customizable

We just need to somehow get our signals data into this.

1 Like

Am I the only one who’s curious about why Microsoft is getting into quant investment? :thinking:

3 Likes

@objectscience have you been using Qlib since? Any reliability issues so far? I’m always hesitant to adopt larger open source projects with small user-base/community in fear of uncovering bugs. But it does seem like development and maintenance is there based on their commit history!

I got started and then got sidetracked. Haven’t gone back to it.

1 Like