mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-13 15:56:57 +08:00
Merge branch 'qlib_highfreq_backtest' of github.com:bxdd/qlib into bxdd-qlib_highfreq_backtest
This commit is contained in:
@@ -40,7 +40,7 @@ def parse_freq(freq: str) -> Tuple[int, str]:
|
|||||||
raise ValueError(
|
raise ValueError(
|
||||||
"freq format is not supported, the freq should be like (n)month/mon, (n)week/w, (n)day/d, (n)minute/min"
|
"freq format is not supported, the freq should be like (n)month/mon, (n)week/w, (n)day/d, (n)minute/min"
|
||||||
)
|
)
|
||||||
_count = int(match_obj.group(1) if match_obj.group(1) else "1")
|
_count = int(match_obj.group(1)) if match_obj.group(1) is None else 1
|
||||||
_freq = match_obj.group(2)
|
_freq = match_obj.group(2)
|
||||||
_freq_format_dict = {
|
_freq_format_dict = {
|
||||||
"month": "month",
|
"month": "month",
|
||||||
|
|||||||
@@ -88,11 +88,11 @@ class RecordTemp:
|
|||||||
|
|
||||||
def list(self):
|
def list(self):
|
||||||
"""
|
"""
|
||||||
List the stored records.
|
List the supported artifacts.
|
||||||
|
|
||||||
Return
|
Return
|
||||||
------
|
------
|
||||||
A list of all the stored records.
|
A list of all the supported artifacts.
|
||||||
"""
|
"""
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user