From 9d184586f1173bb06ba78d4e4230d41271050cef Mon Sep 17 00:00:00 2001 From: Robert Caulk Date: Sat, 16 Jul 2022 21:16:59 +0200 Subject: [PATCH] fix bug in historic prediction saving --- freqtrade/freqai/data_drawer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqai/data_drawer.py b/freqtrade/freqai/data_drawer.py index 321295c53..4e8858349 100644 --- a/freqtrade/freqai/data_drawer.py +++ b/freqtrade/freqai/data_drawer.py @@ -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. """