fix bug in historic prediction saving

This commit is contained in:
Robert Caulk 2022-07-16 21:16:59 +02:00
parent f6bfd89cef
commit 9d184586f1

View File

@ -93,14 +93,14 @@ class FreqaiDataDrawer:
return exists
def save_drawer_to_disk(self):
def save_historic_predictions_to_disk(self):
"""
Save data drawer full of all pair model metadata in present model folder.
"""
with open(self.full_path / str("historic_predictions.pkl"), "wb") as fp:
pickle.dump(self.historic_predictions, fp, protocol=pickle.HIGHEST_PROTOCOL)
def save_historic_predictions_to_disk(self):
def save_drawer_to_disk(self):
"""
Save data drawer full of all pair model metadata in present model folder.
"""