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

fix a bug

This commit is contained in:
bxdd
2021-01-27 07:02:59 +00:00
parent 2a5f06ee9e
commit 6fc4f2b249

View File

@@ -195,7 +195,7 @@ class HighFreqBacktestHandler(DataHandler):
fields = []
names = []
template_if = "If(Eq({1}, np.nan), {0}, {1})"
template_if = "If(IsNull({1}), {0}, {1})"
template_paused = "Select(Eq($paused, 0.0), {0})"
# template_paused="{0}"
template_fillnan = "FFillNan({0})"