mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-03 11:00:57 +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
|
||||
self.last_end = self.old_data.dropna().index.get_level_values("datetime").max()
|
||||
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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user