@KKaWSB: 送人送到西,兄弟们,GitHub 上的量化交易项目已经卷到这个地步了,有很多拿来就用的好策略可以练手(合集送上)。 华尔街团队年薪百万干的事,这些开源项目免费给你,还带教程。 Qlib(微软官方) AI 量化投资平台,从挖因子、训模型到回…
摘要
A curated list of open-source quantitative trading projects on GitHub, including AI-powered platforms like Qlib and FinGPT, multi-agent frameworks, and backtesting tools, all with tutorials and ready-to-use strategies.
查看缓存全文
缓存时间: 2026/07/06 18:18
送人送到西,兄弟们,GitHub 上的量化交易项目已经卷到这个地步了,有很多拿来就用的好策略可以练手(合集送上)。
华尔街团队年薪百万干的事,这些开源项目免费给你,还带教程。
Qlib(微软官方) AI 量化投资平台,从挖因子、训模型到回测全链路,39k 星 http://github.com/microsoft/qlib
TradingAgents AI 多 Agent 量化交易框架,模拟一整个交易公司:基本面分析师+情绪分析师+技术分析师+交易员各司其职。http://github.com/TauricResearch/TradingAgents…
OpenBB 开源版彭博终端,机构级投研数据全免费,分析师、量化、AI Agent 都能用,近 70k 星 http://github.com/OpenBB-finance/OpenBB…
FinGPT 开源金融大模型,情绪分析比 GPT-4 微调还准,一张 3090 就能跑 http://github.com/AI4Finance-Foundation/FinGPT…
FinRL 用强化学习自动炒股的开山框架,NeurIPS 论文出身,训练 5 种 AI 交易员互相打擂台 http://github.com/AI4Finance-Foundation/FinRL…
Qbot AI 自动量化机器人,从取数据到实盘全流程本地部署,16.7k 星 http://github.com/UFund-Me/Qbot
vnpy 国内量化老炮都在用的框架,股票期货加密货币全支持,从回测到实盘一条龙 http://github.com/vnpy/vnpy
vectorbt 回测速度怪物,几秒钟测完几千个策略,pandas 用户直接无缝上手 http://github.com/polakowo/vectorbt…
以前这些能力,是对冲基金的护城河。 现在,一句指令让AI干活的事。
microsoft/qlib
Source: https://github.com/microsoft/qlib
: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/
@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
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
- It’s very easy to build a complete Quant research workflow and try your ideas with Qlib.
- 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:
| install with pip | install from source | plot | |
|---|---|---|---|
| Python 3.8 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Python 3.9 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Python 3.10 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Python 3.11 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
| Python 3.12 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Note:
- Conda is suggested for managing your Python environment. In some cases, using Python outside of a
condaenvironment may result in missing header files, causing the installation failure of certain packages. - Please pay attention that installing cython in Python 3.6 will raise some error when installing
Qlibfrom source. If users use Python 3.6 on their machines, it is recommended to upgrade Python to version 3.8 or higher, or useconda’s Python to installQlibfrom source.
Install with pip
Users can easily install Qlib by pip according to the following command.
pip install pyqlib
Note: pip will install the latest stable qlib. However, the main branch of qlib is in active development. If you want to test the latest scripts or functions in the main branch. Please install qlib with the methods below.
Install from source
Also, users can install the latest dev version Qlib by the source code according to the following steps:
-
Before installing
Qlibfrom source, users need to install some dependencies:pip install numpy pip install --upgrade cython -
Clone the repository and install
Qlibas follows.git clone https://github.com/microsoft/qlib.git && cd qlib pip install . # `pip install -e .[dev]` is recommended for development. check details in docs/developer/code_standard_and_dev_guide.rst
Tips: If you fail to install Qlib or run the examples in your environment, comparing your steps and the CI workflow may help you find the problem.
Tips for Mac: If you are using Mac with M1, you might encounter issues in building the wheel for LightGBM, which is due to missing dependencies from OpenMP. To solve the problem, install openmp first with brew install libomp and then run pip install . to build it successfully.
Data Preparation
❗ Due to more restrict data security policy. The official dataset is disabled temporarily. You can try this data source contributed by the community. Here is an example to download the latest data.
wget https://github.com/chenditc/investment_data/releases/latest/download/qlib_bin.tar.gz
mkdir -p ~/.qlib/qlib_data/cn_data
tar -zxvf qlib_bin.tar.gz -C ~/.qlib/qlib_data/cn_data --strip-components=1
rm -f qlib_bin.tar.gz
The official dataset below will resume in short future.
Load and prepare data by running the following code:
Get with module
# get 1d data
python -m qlib.cli.data qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn
# get 1min data
python -m qlib.cli.data qlib_data --target_dir ~/.qlib/qlib_data/cn_data_1min --region cn --interval 1min
Get from source
# get 1d data
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn
# get 1min data
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data_1min --region cn --interval 1min
This dataset is created by public data collected by crawler scripts, which have been released in the same repository. Users could create the same dataset with it. Description of dataset
Please pay ATTENTION that the data is collected from Yahoo Finance, and the data might not be perfect. We recommend users to prepare their own data if they have a high-quality dataset. For more information, users can refer to the related document.
Automatic update of daily frequency data (from yahoo finance)
This step is Optional if users only want to try their models and strategies on history data.
It is recommended that users update the data manually once (–trading_date 2021-05-25) and then set it to update automatically.
NOTE: Users can’t incrementally update data based on the offline data provided by Qlib(some fields are removed to reduce the data size). Users should use yahoo collector to download Yahoo data from scratch and then incrementally update it.
For more information, please refer to: yahoo collector
-
Automatic update of data to the “qlib” directory each trading day(Linux)
-
use crontab:
crontab -e -
set up timed tasks:
* * * * 1-5 python <script path> update_data_to_bin --qlib_data_1d_dir <user data dir>- script path: scripts/data_collector/yahoo/collector.py
-
-
Manual update of data
python scripts/data_collector/yahoo/collector.py update_data_to_bin --qlib_data_1d_dir <user data dir> --trading_date <start date> --end_date <end date>- trading_date: start of trading day
- end_date: end of trading day(not included)
Checking the health of the data
- We provide a script to check the health of the data, you can run the following commands to check whether the data is healthy or not.
python scripts/check_data_health.py check_data --qlib_dir ~/.qlib/qlib_data/cn_data - Of course, you can also add some parameters to adjust the test results, such as this.
python scripts/check_data_health.py check_data --qlib_dir ~/.qlib/qlib_data/cn_data --missing_data_num 30055 --large_step_threshold_volume 94485 --large_step_threshold_price 20 - If you want more information about
check_data_health, please refer to the documentation.
Docker images
- Pulling a docker image from a docker hub repository
docker pull pyqlib/qlib_image_stable:stable - Start a new Docker container
docker run -it --name <container name> -v <Mounted local directory>:/app pyqlib/qlib_image_stable:stable - At this point you are in the docker environment and can run the qlib scripts. An example:
>>> python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn >>> python qlib/cli/run.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml - Exit the container
>>> exit - Restart the container
docker start -i -a <container name> - Stop the container
docker stop <container name> - Delete the container
docker rm <container name> - If you want to know more information, please refer to the documentation.
Auto Quant Research Workflow
Qlib provides a tool named qrun to run the whole workflow automatically (including building dataset, training models, backtest and evaluation). You can start an auto quant research workflow and have a graphical reports analysis according to the following steps:
-
Quant Research Workflow: Run
qrunwith lightgbm workflow config (workflow_config_lightgbm_Alpha158.yaml as following.cd examples # Avoid running program under the directory contains `qlib` qrun benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yamlIf users want to use
qrununder debug mode, please use the following command:python -m pdb qlib/cli/run.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yamlThe result of
qrunis as follows, please refer to docs for more explanations about the result.'The following are analysis results of the excess return without cost.' risk mean 0.000708 std 0.005626 annualized_return 0.178316 information_ratio 1.996555 max_drawdown -0.081806 'The following are analysis results of the excess return with cost.' risk mean 0.000512 std 0.005626 annualized_return 0.128982 information_ratio 1.444287 max_drawdown -0.091078Here are detailed documents for
qrunand workflow. -
Graphical Reports Analysis: First, run
python -m pip install .[analysis]to install the required dependencies. Then runexamples/workflow_by_code.ipynbwithjupyter notebookto get graphical reports.-
Forecasting signal (model prediction) analysis
- Cumulative Return of groups

- Return distribution

- Information Coefficient (IC)

- Auto Correlation of forecasting signal (model prediction)

- Cumulative Return of groups
-
Portfolio analysis
- Backtest return

- Backtest return
-
Explanation of above results
-
Building Customized Quant Research Workflow by Code
The automatic workflow may not suit the research workflow of all Quant researchers. To support a flexible Quant research workflow, Qlib also provides a modularized interface to allow researchers to build their own workflow by code. Here is a demo for customized Quant research workflow by code.
Main Challenges & Solutions in Quant Research
Quant investment is a very unique scenario with lots of key challenges to be solved. Currently, Qlib provides some solutions for several of them.
Forecasting: Finding Valuable Signals/Patterns
Accurate forecasting of the stock price trend is a very important part to construct profitable portfolios. However, huge amount of data with various formats in the financial market which make it challenging to build forecasting models.
An increasing number of SOTA Quant research works/papers, which focus on building forecasting models to mine valuable signals/patterns in complex financial data, are released in Qlib
Quant Model (Paper) Zoo
Here is a list of models built on Qlib.
- GBDT based on XGBoost (Tianqi Chen, et al. KDD 2016)
- GBDT based on LightGBM (Guolin Ke, et al. NIPS 2017)
- GBDT based on Catboost (Liudmila Prokhorenkova, et al. NIPS 2018)
- MLP based on pytorch
- LSTM based on pytorch (Sepp Hochreiter, et al. Neural computation 1997)
- GRU based on pytorch (Kyunghyun Cho, et al. 2014)
- ALSTM based on pytorch (Yao Qin, et al. IJCAI 2017)
- GATs based on pytorch (Petar Velickovic, et al. 2017)
- SFM based on pytorch (Liheng Zhang, et al. KDD 2017)
- TFT based on tensorflow (Bryan Lim, et al. International Journal of Forecasting 2019)
- TabNet based on pytorch (Sercan O. Arik, et al. AAAI 2019)
- DoubleEnsemble based on LightGBM (Chuheng Zhang, et al. ICDM 2020)
- TCTS based on pytorch (Xueqing Wu, et al. ICML 2021)
- Transformer based on pytorch (Ashish Vaswani, et al. NeurIPS 2017)
- Localformer based on pytorch (Juyong Jiang, et al.)
- TRA based on pytorch (Hengxu, Dong, et al. KDD 2021)
- TCN based on pytorch (Shaojie Bai, et al. 2018)
- ADARNN based on pytorch (YunTao Du, et al. 2021)
- ADD based on pytorch (Hongshun Tang, et al.2020)
- IGMTF based on pytorch (Wentao Xu, et al.2021)
- HIST based on pytorch (Wentao Xu, et al.2021)
- KRNN based on pytorch
- Sandwich based on pytorch
Your PR of new Quant models is highly welcomed.
The performance of each model on the Alpha158 and Alpha360 datasets can be found here.
Run a single model
All the models listed above are runnable with Qlib. Users can find the config files we provide and some details about the model through the benchmarks folder. More information can be retrieved at the model files listed above.
Qlib provides three different ways to run a single model, users can pick the one that fits their cases best:
-
Users can use the tool
qrunmentioned above to run a model’s workflow based from a config file. -
Users can create a
workflow_by_codepython script based on the one listed in theexamplesfolder. -
Users can use the script
run_all_model.pylisted in theexamplesfolder to run a model. Here is an example of the specific shell command to be used:python run_all_model.py run --models=lightgbm, where the--modelsarguments can take any number of models listed above(the available models can be found in benchmarks). For more use cases, please refer to the file’s docstrings.- NOTE: Each baseline has different environment dependencies, please make sure that your python version aligns with the requirements(e.g. TFT only supports Python 3.6~3.7 due to the limitation of
tensorflow==1.15.0)
- NOTE: Each baseline has different environment dependencies, please make sure that your python version aligns with the requirements(e.g. TFT only supports Python 3.6~3.7 due to the limitation of
Run multiple models
Qlib also provides a script run_all_model.py which can run multiple models for several iterations. (Note: the script only support Linux for now. Other OS will be supported in the future. Besides, it doesn’t support parallel running the same model for multiple times as well, and this will be fixed in the future development too.)
The script will create a unique virtual environment for each model, and delete the environments after training. Thus, only experiment results such as IC and backtest results will be generated and stored.
Here is an example of running all the models for 10 iterations:
python run_all_model.py run 10
It also provides the API to run specific models at once. For more use cases, please refer to the file’s docstrings.
Break change
In pandas, group_key is one of the parameters of the groupby method. From version 1.5 to 2.0 of pandas, the default value of group_key has been changed from no default to True, which will cause qlib to report an error during operation. So we set group_key=False, but it doesn’t guarantee that some programmes will run correctly, including:
- qlib\examples\rl_order_execution\scripts\gen_training_orders.py
- qlib\examples\benchmarks\TRA\src\dataset.MTSDatasetH.py
- qlib\examples\benchmarks\TFT\tft.py
Adapting to Market Dynamics
Due to the non-stationary nature of the environment of the financial market, the data distribution may change in different periods, which makes the performance of models build on training data decays in the future test data. So adapting the forecasting models/strategies to market dynamics is very important to the model/strategies’ performance.
Here is a list of solutions built on Qlib.
Reinforcement Learning: modeling continuous decisions
Qlib now supports reinforcement learning, a feature designed to model continuous investment decisions. This functionality assists investors in optimizing their trading strategies by learning from interactions with the environment to maximize some notion of cumulative reward.
Here is a list of solutions built on Qlib categorized by scenarios.
RL for order execution
Here is the introduction of this scenario. All the methods below are compared here.
- TWAP
- PPO: “An End-to-End Optimal Trade Execution Framework based on Proximal Policy Optimization”, IJCAL 2020
- OPDS: “Universal Trading for Order Execution with Oracle Policy Distillation”, AAAI 2021
Quant Dataset Zoo
Dataset plays a very important role in Quant. Here is a list of the datasets built on Qlib:
| Dataset | US Market | China Market |
|---|---|---|
| Alpha360 | √ | √ |
| Alpha158 | √ | √ |
Here is a tutorial to build dataset with Qlib.
Your PR to build new Quant dataset is highly welcomed.
Learning Framework
Qlib is high customizable and a lot of its components are learnable.
The learnable components are instances of Forecast Model and Trading Agent. They are learned based on the Learning Framework layer and then applied to multiple scenarios in Workflow layer.
The learning framework leverages the Workflow layer as well(e.g. sharing Information Extractor, creating environments based on Execution Env).
Based on learning paradigms, they can be categorized into reinforcement learning and supervised learning.
- For supervised learning, the detailed docs can be found here.
- For reinforcement learning, the detailed docs can be found here. Qlib’s RL learning framework leverages
Execution EnvinWorkflowlayer to create environments. It’s worth noting thatNestedExecutoris supported as well. This empowers users to optimize different level of strategies/models/agents together (e.g. optimizing an order execution strategy for a specific portfolio management strategy).
More About Qlib
If you want to have a quick glance at the most frequently used components of qlib, you can try notebooks here.
The detailed documents are organized in docs. Sphinx and the readthedocs theme is required to build the documentation in html formats.
cd docs/
conda install sphinx sphinx_rtd_theme -y
# Otherwise, you can install them with pip
# pip install sphinx sphinx_rtd_theme
make html
You can also view the latest document online directly.
Qlib is in active and continuing development. Our plan is in the roadmap, which is managed as a github project.
Offline Mode and Online Mode
The data server of Qlib can either deployed as Offline mode or Online mode. The default mode is offline mode.
Under Offline mode, the data will be deployed locally.
Under Online mode, the data will be deployed as a shared data service. The data and their cache will be shared by all the clients. The data retrieval performance is expected to be improved due to a higher rate of cache hits. It will consume less disk space, too. The documents of the online mode can be found in Qlib-Server. The online mode can be deployed automatically with Azure CLI based scripts. The source code of online data server can be found in Qlib-Server repository.
Performance of Qlib Data Server
The performance of data processing is important to data-driven methods like AI technologies. As an AI-oriented platform, Qlib provides a solution for data storage and data processing. To demonstrate the performance of Qlib data server, we compare it with several other data storage solutions.
We evaluate the performance of several storage solutions by finishing the same task, which creates a dataset (14 features/factors) from the basic OHLCV daily data of a stock market (800 stocks each day from 2007 to 2020). The task involves data queries and processing.
| HDF5 | MySQL | MongoDB | InfluxDB | Qlib -E -D | Qlib +E -D | Qlib +E +D | |
|---|---|---|---|---|---|---|---|
| Total (1CPU) (seconds) | 184.4±3.7 | 365.3±7.5 | 253.6±6.7 | 368.2±3.6 | 147.0±8.8 | 47.6±1.0 | 7.4±0.3 |
| Total (64CPU) (seconds) | 8.8±0.6 | 4.2±0.2 |
+(-)Eindicates with (out)ExpressionCache+(-)Dindicates with (out)DatasetCache
Most general-purpose databases take too much time to load data. After looking into the underlying implementation, we find that data go through too many layers of interfaces and unnecessary format transformations in general-purpose database solutions. Such overheads greatly slow down the data loading process. Qlib data are stored in a compact format, which is efficient to be combined into arrays for scientific computation.
Related Reports
Contact Us
- If you have any issues, please create issue here or send messages in gitter.
- If you want to make contributions to
Qlib, please create pull requests. - For other reasons, you are welcome to contact us by email([email protected]).
- We are recruiting new members(both FTEs and interns), your resumes are welcome!
Join IM discussion groups:
| Gitter |
|---|
![]() |
Contributing
We appreciate all contributions and thank all the contributors!
Before we released Qlib as an open-source project on Github in Sep 2020, Qlib is an internal project in our group. Unfortunately, the internal commit history is not kept. A lot of members in our group have also contributed a lot to Qlib, which includes Ruihua Wang, Yinda Zhang, Haisu Yu, Shuyu Wang, Bochen Pang, and Dong Zhou. Especially thanks to Dong Zhou due to his initial version of Qlib.
Guidance
This project welcomes contributions and suggestions.
Here are some
code standards and development guidance for submiting a pull request.
Making contributions is not a hard thing. Solving an issue(maybe just answering a question raised in issues list or gitter), fixing/issuing a bug, improving the documents and even fixing a typo are important contributions to Qlib.
For example, if you want to contribute to Qlib’s document/code, you can follow the steps in the figure below.
If you don’t know how to start to contribute, you can refer to the following examples.
| Type | Examples |
|---|---|
| Solving issues | Answer a question; issuing or fixing a bug |
| Docs | Improve docs quality ; Fix a typo |
| Feature | Implement a requested feature like this; Refactor interfaces |
| Dataset | Add a dataset |
| Models | Implement a new model, some instructions to contribute models |
Good first issues are labelled to indicate that they are easy to start your contributions.
You can find some impefect implementation in Qlib by rg 'TODO|FIXME' qlib
If you would like to become one of Qlib’s maintainers to contribute more (e.g. help merge PR, triage issues), please contact us by email([email protected]). We are glad to help to upgrade your permission.
License
Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the right to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
相似文章
@eastweb3eth: Github 美股量化合集----聪明人必用的工具 自从有了 Github,普通人也能玩量化了。但是别一上来就自己吭哧吭哧写回测引擎,真的,大部分人写的还不如 GitHub 上一个三年前的仓库抗造。 虽然仓库很多,我已经帮你筛选好了,这4…
推荐4个开源量化交易工具/框架(VeighNa、AI-Trader、StockSharp、QuantDinger),强调它们适合普通用户进行美股量化交易,帮助解放双手、将交易交给模型。
@waveking1314: 卧槽兄弟们,GitHub 上真的有一堆免费到离谱的项目。 很多能力已经能直接干掉你正在月付的软件。 1. TradingAgents AI 多 Agent 量化交易框架 https://github.com/TauricResearch/…
推荐10个高质量的GitHub开源项目,涵盖量化交易、AI聊天、视频生成、金融终端、短视频制作、邮件助手、声音克隆、OSINT分析、AI技能库和API集成平台,很多可以作为付费软件的免费替代品。
@KKaWSB: https://x.com/KKaWSB/status/2074289438474330306
本文详细介绍了如何利用免费的AI开源工具(如OpenBB、Qlib、TradingAgents等)搭建个人量化交易系统,涵盖数据、研究、回测、风控和执行五大模块,并指出了常见陷阱与纪律。
@CoderDaMing: 10个免费GitHub库,只需100美元和笔记本电脑就能像对冲基金一样交易。 这些是300多家对冲基金在用的工具。收藏这个。 1. OpenBB 免费的彭博终端。股票、期权、期货、加密、外汇。彭博终端年费25000美元,这个免费。 → h…
这篇文章介绍了10个免费的GitHub开源库,涵盖金融数据、回测、交易执行等,让散户能用低成本实现类似华尔街对冲基金的交易工具。
@xiaoying_eth: 这 10 个 GitHub 仓库,不该只被程序员知道。 1. TradingAgents 一个 AI 投资分析师团队。 基本面、情绪、新闻、技术 4 个分析师一起讨论策略,后面还有风险经理和执行代理。 相当于把一个迷你华尔街团队,塞进你的…
推荐了10个实用的GitHub开源项目,涵盖AI投资分析、多模型聊天客户端、视频生成引擎、金融终端、短视频自动生成、AI邮件客户端、语音克隆、域名信息收集、Claude技能集和API集成等。
