mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-13 03:33:55 +00:00
fix bug in historic prediction saving
This commit is contained in:
parent
f6bfd89cef
commit
9d184586f1
|
@ -93,14 +93,14 @@ class FreqaiDataDrawer:
|
||||||
|
|
||||||
return exists
|
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.
|
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:
|
with open(self.full_path / str("historic_predictions.pkl"), "wb") as fp:
|
||||||
pickle.dump(self.historic_predictions, fp, protocol=pickle.HIGHEST_PROTOCOL)
|
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.
|
Save data drawer full of all pair model metadata in present model folder.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user