当前位置:网站首页>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
边栏推荐
- Understanding and Using Unity2D Custom Scriptable Tiles (4) - Start to build a custom tile based on the Tile class (below)
- What is a system?
- TCP和UDP详解
- Golang中的addressable
- SIP协议标准和实现机制
- LeetCode每日一练 —— OR36 链表的回文结构
- (四)递归、可变参数、访问修饰符、理解 main 方法、代码块
- ClickHouse: Setting up remote connections
- els block to the left to move the conditional judgment
- Redis uses LIST to cache the latest comments
猜你喜欢

No qualifying bean of type 问题

Component pass value provide/inject
![[C language] Three-pointed chess (classic solution + list diagram)](/img/64/18ed08b64f9618bbd7f24ee16e6a6f.jpg)
[C language] Three-pointed chess (classic solution + list diagram)

Knowledge Distillation 7: Detailed Explanation of Knowledge Distillation Code

SIP协议标准和实现机制

A brief introduction to the showDatePicker method of the basic components of Flutter

postgresql 15源码浅析(5)—— pg_control

浅识Flutter 基本组件之showDatePicker方法

一份高质量的测试用例如何养成?

How to develop a high-quality test case?
随机推荐
els 方块向右移动边界判断、向下加速
分布式锁以及实现方式三种
(Line segment tree) Summary of common problems of basic line segment tree
Just debuted "Fight to Fame", safety and comfort are not lost
[Dynamic programming] Maximum sum of consecutive subarrays
What is a system?
Ambiguous method call.both
Point Cloud DBSCAN Clustering (MATLAB, not built-in function)
SIP协议标准和实现机制
[Swift] Customize the shortcut that pops up by clicking the APP icon
浅识Flutter 基本组件之showDatePicker方法
Day32 LeetCode
[C language] Three-pointed chess (classic solution + list diagram)
进程间通信
IDEA常用快捷键与插件
《DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction》论文笔记
【动态规划】连续子数组的最大和
Mysql 45 study notes (23) How does MYSQL ensure that data is not lost
Why SocialFi achievement Web3 decentralized social in the future
postgresql 15源码浅析(5)—— pg_control