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

fix pytest error

This commit is contained in:
Linlang
2024-07-05 10:11:12 +08:00
parent b4879fc9da
commit d2c68e0cc0

View File

@@ -147,7 +147,7 @@ class Alpha158(DataHandlerLP):
},
"rolling": {},
}
return Alpha158DL.parse_config_to_fields(conf) # pylint: disable=E1101
return Alpha158DL.get_feature_config(conf)
def get_label_config(self):
return ["Ref($close, -2)/Ref($close, -1) - 1"], ["LABEL0"]