1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-11 14:56:55 +08:00

Add DataPathManager to QlibConfig && modify inst_processors to supports list only

This commit is contained in:
zhupr
2021-09-02 11:45:37 +08:00
committed by you-n-g
parent 707399a245
commit e84cc23589
10 changed files with 148 additions and 179 deletions

View File

@@ -4,9 +4,8 @@ import pandas as pd
from qlib.data.inst_processor import InstProcessor
class ResampleProcessor(InstProcessor):
def __init__(self, freq: str, hour: int, minute: int):
self.freq = freq
class Resample1minProcessor(InstProcessor):
def __init__(self, hour: int, minute: int):
self.hour = hour
self.minute = minute