1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-04 11:30:57 +08:00

Modify the default value in the multi_freq example

This commit is contained in:
zhupr
2021-09-02 11:51:52 +08:00
committed by you-n-g
parent e84cc23589
commit 4c5a4d5cd7
2 changed files with 3 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ from qlib.data.inst_processor import InstProcessor
class Resample1minProcessor(InstProcessor):
def __init__(self, hour: int, minute: int):
def __init__(self, hour: int, minute: int, **kwargs):
self.hour = hour
self.minute = minute

View File

@@ -23,9 +23,8 @@ data_handler_config: &data_handler_config
- class: Resample1minProcessor
module_path: features_sample.py
kwargs:
freq: 1d
hour: 13
minute: 1
hour: 14
minute: 56
port_analysis_config: &port_analysis_config
strategy: