mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 00:36:55 +08:00
black format
This commit is contained in:
@@ -26,6 +26,7 @@ from qlib.tests.data import GetData
|
|||||||
|
|
||||||
from highfreq_ops import get_calendar_day, DayLast, FFillNan, BFillNan, Date, Select, IsNull
|
from highfreq_ops import get_calendar_day, DayLast, FFillNan, BFillNan, Date, Select, IsNull
|
||||||
|
|
||||||
|
|
||||||
class HighfreqWorkflow(object):
|
class HighfreqWorkflow(object):
|
||||||
|
|
||||||
SPEC_CONF = {"custom_ops": [DayLast, FFillNan, BFillNan, Date, Select, IsNull], "expression_cache": None}
|
SPEC_CONF = {"custom_ops": [DayLast, FFillNan, BFillNan, Date, Select, IsNull], "expression_cache": None}
|
||||||
@@ -156,7 +157,7 @@ class HighfreqWorkflow(object):
|
|||||||
"2021-01-19 00:00:00",
|
"2021-01-19 00:00:00",
|
||||||
"2021-01-25 16:00:00",
|
"2021-01-25 16:00:00",
|
||||||
),
|
),
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
dataset_backtest.init(
|
dataset_backtest.init(
|
||||||
handler_kwargs={
|
handler_kwargs={
|
||||||
@@ -168,7 +169,7 @@ class HighfreqWorkflow(object):
|
|||||||
"2021-01-19 00:00:00",
|
"2021-01-19 00:00:00",
|
||||||
"2021-01-25 16:00:00",
|
"2021-01-25 16:00:00",
|
||||||
),
|
),
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
##=============get data=============
|
##=============get data=============
|
||||||
|
|||||||
Reference in New Issue
Block a user