当前位置:网站首页>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
边栏推荐
- Redis implements distributed locks
- 组件传值 provide/inject
- Problems that need to be solved in distributed system architecture
- Redis uses LIST to cache the latest comments
- errno error code and meaning (Chinese)
- els block to the left to move the conditional judgment
- Day32 LeetCode
- Postgresql 15 source code analysis (5) - pg_control
- els block to the right
- 浅识Flutter 基本组件之CheckBox组件
猜你喜欢
安全20220712
浅识Flutter 基本组件之CheckboxListTile组件
A brief introduction to the CheckboxListTile component of the basic components of Flutter
VS QT - ui does not display newly added members (controls) || code is silent
Detailed explanation of TCP and UDP
[Paper reading] Mastering the game of Go with deep neural networks and tree search
[Compilation principle] Design principle and implementation of recursive descent parsing
Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)
【动态规划】连续子数组的最大和
IDEA常用快捷键与插件
随机推荐
LocalDate加减操作及比较大小
Distributed locks and three implementation methods
The distance value between two arrays of LeetCode simple questions
Redis 统计用户新增和留存
安全20220709
Observer pattern
"DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction" paper notes
[C language] General method for finding the sum of the greatest common factor and the least common multiple of two integers m and n, the classical solution
安全20220718
interprocess communication
CloudCompare & PCL calculate the degree of overlap between two point clouds
5. How does the SAP ABAP OData service support the $filter operation
BP神经网络
Regarding the primary key id in the mysql8.0 database, when the id is inserted using replace to be 0, the actual id is automatically incremented after insertion, resulting in the solution to the repea
Know the showTimePicker method of the basic components of Flutter
(8) Math class, Arrays class, System class, Biglnteger and BigDecimal classes, date class
【动态规划】连续子数组的最大和
(线段树) 基础线段树常见问题总结
Zotero如何删除自动生成的标签
Key Technologies of Interface Testing