当前位置:网站首页>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
边栏推荐
- Key Technologies of Interface Testing
- 组件传值 provide/inject
- 识Flutter 基本组件之showTimePicker 方法
- Safety 20220709
- Zotero如何删除自动生成的标签
- errno error code and meaning (Chinese)
- [Compilation principle] Design principle and implementation of recursive descent parsing
- [shell basics] determine whether the directory is empty
- [C language] Preprocessing operation
- errno错误码及含义(中文)
猜你喜欢

5. How does the SAP ABAP OData service support the $filter operation

Understanding and Using Unity2D Custom Scriptable Tiles (4) - Start to build a custom tile based on the Tile class (below)

"A daily practice, happy water problem" 1331. Array serial number conversion
![[Compilation principle] Design principle and implementation of recursive descent parsing](/img/51/cd054a8246dc108520d6ff9ea26c60.png)
[Compilation principle] Design principle and implementation of recursive descent parsing

端口排查步骤-7680端口分析-Dosvc服务

Based on the local, linking the world | Schneider Electric "Industrial SI Alliance" joins hands with partners to go to the future industry

Port inspection steps - 7680 port analysis - Dosvc service
![[Compilation principle] Lexical analysis program design principle and implementation](/img/eb/035234a402edf18beb7e2f82ebec17.png)
[Compilation principle] Lexical analysis program design principle and implementation

VS QT - ui does not display newly added members (controls) || code is silent
![Summary of Huawei Distributed Storage FusionStorage Knowledge Points [Interview]](/img/83/e0163b324448c6ef5b106862673637.jpg)
Summary of Huawei Distributed Storage FusionStorage Knowledge Points [Interview]
随机推荐
Redis实现分布式锁
VS QT - ui does not display newly added members (controls) || code is silent
Redis 使用 sorted set 做最新评论缓存
进程间通信
Component pass value provide/inject
Mysql 45 study notes (23) How does MYSQL ensure that data is not lost
The BP neural network
Several common errors when using MP
Detailed explanation of TCP and UDP
LocalDate加减操作及比较大小
[Godot][GDScript] 2D cave map randomly generated
Knowledge Distillation 7: Detailed Explanation of Knowledge Distillation Code
Observer pattern
Problems that need to be solved in distributed system architecture
Analysis summary - self-use
Pytest电商项目实战(上)
Detailed explanation of TCP (1)
The application and practice of mid-to-platform brand advertising platform
从滴滴罚款后数据治理思考
$attrs/$listeners