Skip to content
All library documents

Installing the Qlib Quantitative Research Library

Article SuperMind

Summary

This document explains how to install Qlib, a Python library used in quantitative research. It outlines two routes: installing the published package with pip, or obtaining the source and running its setup process after installing prerequisite packages. It also recommends using a Conda environment and notes that Qlib depends on LightGBM and PyTorch.

The suggested setup supports Windows and Linux, with Linux recommended, and states support for Python through version 3.8. Installation can be checked by importing the library and querying its version. The page is purely operational: it contains no trading method, strategy, analysis, performance evidence, or discussion of research limitations.

Key ideas

  • Qlib can be installed from a package manager or from its source distribution.
  • The document recommends a Conda-based environment and identifies LightGBM and PyTorch as dependencies.
  • It recommends Linux while also listing Windows support.
  • A successful setup can be checked by importing Qlib and retrieving its version.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.