mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-14 16:26:55 +08:00
Fix update record bug(#723)
This commit is contained in:
@@ -146,7 +146,7 @@ class DSBasedUpdater(RecordUpdater, metaclass=ABCMeta):
|
|||||||
# The recent label data should be updated together
|
# The recent label data should be updated together
|
||||||
self.last_end = self.old_data.dropna().index.get_level_values("datetime").max()
|
self.last_end = self.old_data.dropna().index.get_level_values("datetime").max()
|
||||||
else:
|
else:
|
||||||
self.last_end = get_date_by_shift(from_date, -1, align="left")
|
self.last_end = get_date_by_shift(from_date, -1, align="right")
|
||||||
|
|
||||||
def prepare_data(self) -> DatasetH:
|
def prepare_data(self) -> DatasetH:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user