当前位置:网站首页>qlib自动化quant
qlib自动化quant
2022-07-31 03:40:00 【人工智能曾小健】
使用 pip 安装
用户可以按照以下命令通过 pip 轻松安装 Qlib。
pip install pyqlib注意:pip 将安装最新的稳定 qlib。但是,qlib 的主要分支正在积极开发中。如果您想在主分支中测试最新的脚本或功能。请使用以下方法安装 qlib。
自动量化研究工作流程
Qlib 提供了一个名为 qrun 的工具来自动运行整个工作流程(包括构建数据集、训练模型、回测和评估)。您可以根据以下步骤启动自动量化研究工作流程并进行图形报告分析:
Quant Research Workflow: Run qrun with 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.yaml如果用户想
qrun在调试模式下使用,请使用以下命令:python -m pdb qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
结果
qrun如下,有关结果的详细信息,请参阅日内交易。'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.091078以下是详细的文档
qrun和工作流程。图形报告分析:运行
examples/workflow_by_code.ipynb以jupyter notebook获取图形报告预测信号(模型预测)分析
- 团体累计回报Cumulative Return of groups
边栏推荐
- Ambiguous method call.both
- LeetCode simple problem to find the subsequence of length K with the largest sum
- [C language] General method of expression evaluation
- 「 每日一练,快乐水题 」1331. 数组序号转换
- 从滴滴罚款后数据治理思考
- IDEA comment report red solution
- web容器及IIS --- 中间件渗透方法1
- Use of QML
- 立足本土,链接全球 | 施耐德电气“工业SI同盟”携手伙伴共赴未来工业
- Safety 20220712
猜你喜欢

What skills do I need to learn to move from manual testing to automated testing?

Knowledge Distillation 7: Detailed Explanation of Knowledge Distillation Code

BP神经网络

Redis implements distributed locks
![[C language] General method of base conversion](/img/28/954af5f47a79ff02d3cc0792ac8586.jpg)
[C language] General method of base conversion
![[C language] General method of expression evaluation](/img/59/cf43b7dd16c203b4f31c1591615955.jpg)
[C language] General method of expression evaluation

IDEA comment report red solution

No qualifying bean of type 问题
![[Dynamic programming] Maximum sum of consecutive subarrays](/img/3d/10731cc64d1c69d2beb3666ae0f064.png)
[Dynamic programming] Maximum sum of consecutive subarrays

Zotero如何删除自动生成的标签
随机推荐
(五)final、抽象类、接口、内部类
type_traits元编程库学习
Safety 20220712
Automation strategies for legacy systems
Use of QML
数据库实现分布式锁
Pytest电商项目实战(上)
Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)
大小端模式
Detailed explanation of TCP (2)
【Exception】The field file exceeds its maximum permitted size of 1048576 bytes.
Ambiguous method call.both
[Godot][GDScript] 2D cave map randomly generated
[Swift] Customize the shortcut that pops up by clicking the APP icon
Based on the local, linking the world | Schneider Electric "Industrial SI Alliance" joins hands with partners to go to the future industry
浅识Flutter 基本组件之showDatePicker方法
The BP neural network
BP神经网络
Several common errors when using MP
Redis uses sorted set to cache latest comments