mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-19 10:24:35 +08:00
fix comments & update resam ts_last method
This commit is contained in:
@@ -91,7 +91,7 @@ class Report:
|
||||
|
||||
if freq is None:
|
||||
raise ValueError("benchmark freq can't be None!")
|
||||
_codes = benchmark if isinstance(benchmark, list) else [benchmark]
|
||||
_codes = benchmark if isinstance(benchmark, (list, dict)) else [benchmark]
|
||||
fields = ["$close/Ref($close,1)-1"]
|
||||
_temp_result, _ = get_higher_eq_freq_feature(_codes, fields, start_time, end_time, freq=freq)
|
||||
if len(_temp_result) == 0:
|
||||
|
||||
Reference in New Issue
Block a user