当前位置:网站首页>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
边栏推荐
- RESTful api接口设计规范
- Mysql 45 study notes (23) How does MYSQL ensure that data is not lost
- Redis counts new and retained users
- C language from entry to such as soil, the data store
- 安全20220715
- [Paper reading] Mastering the game of Go with deep neural networks and tree search
- Observer pattern
- No qualifying bean of type 问题
- "DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction" paper notes
- Pytest电商项目实战(上)
猜你喜欢

Mysql 45 study notes (twenty-four) MYSQL master-slave consistency

Know the showTimePicker method of the basic components of Flutter

Postgresql 15 source code analysis (5) - pg_control

Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)

(5) final, abstract class, interface, inner class

Why don't you programmers make a living off your own projects?And have to work for someone else?

大小端模式

Detailed explanation of TCP (1)

(八)Math 类、Arrays 类、System类、Biglnteger 和 BigDecimal 类、日期类

Notes on the establishment of the company's official website (6): The public security record of the domain name is carried out and the record number is displayed at the bottom of the web page
随机推荐
Golang中的addressable
从滴滴罚款后数据治理思考
Mysql 45 study notes (twenty-five) MYSQL guarantees high availability
(tree) Last Common Ancestor (LCA)
(5) final, abstract class, interface, inner class
Use of QML
3.5 】 【 Cocos Creator slow operating system to stop all animations
beforeDestroy与destroyed的使用
(六)枚举、注解
Bubble sort, selection sort, insertion sort, binary search directly
Detailed explanation of TCP (2)
[C language] General method of expression evaluation
进程间通信
浅识Flutter 基本组件之showDatePicker方法
Redis 使用LIST做最新评论缓存
SQL Interview Questions (Key Points)
ClickHouse: Setting up remote connections
(8) Math class, Arrays class, System class, Biglnteger and BigDecimal classes, date class
【CocosCreator 3.5】CocosCreator get network status
PMP WeChat group daily exercises