mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 00:36:55 +08:00
Modify the default value in the multi_freq example
This commit is contained in:
@@ -5,7 +5,7 @@ from qlib.data.inst_processor import InstProcessor
|
|||||||
|
|
||||||
|
|
||||||
class Resample1minProcessor(InstProcessor):
|
class Resample1minProcessor(InstProcessor):
|
||||||
def __init__(self, hour: int, minute: int):
|
def __init__(self, hour: int, minute: int, **kwargs):
|
||||||
self.hour = hour
|
self.hour = hour
|
||||||
self.minute = minute
|
self.minute = minute
|
||||||
|
|
||||||
|
|||||||
@@ -23,9 +23,8 @@ data_handler_config: &data_handler_config
|
|||||||
- class: Resample1minProcessor
|
- class: Resample1minProcessor
|
||||||
module_path: features_sample.py
|
module_path: features_sample.py
|
||||||
kwargs:
|
kwargs:
|
||||||
freq: 1d
|
hour: 14
|
||||||
hour: 13
|
minute: 56
|
||||||
minute: 1
|
|
||||||
|
|
||||||
port_analysis_config: &port_analysis_config
|
port_analysis_config: &port_analysis_config
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Reference in New Issue
Block a user