diff --git a/freqtrade/freqai/data_drawer.py b/freqtrade/freqai/data_drawer.py index c3b932ed1..77b595d56 100644 --- a/freqtrade/freqai/data_drawer.py +++ b/freqtrade/freqai/data_drawer.py @@ -123,10 +123,6 @@ class FreqaiDataDrawer: self.pair_dict[metadata['pair']]['priority'] = len(self.pair_dict) return - # def create_training_queue(self, pairs: list) -> None: - # for i, pair in enumerate(pairs): - # self.training_queue[pair] = i + 1 - def pair_to_end_of_training_queue(self, pair: str) -> None: # march all pairs up in the queue for p in self.pair_dict: diff --git a/freqtrade/freqai/freqai_interface.py b/freqtrade/freqai/freqai_interface.py index ed7cab287..8bf767bd6 100644 --- a/freqtrade/freqai/freqai_interface.py +++ b/freqtrade/freqai/freqai_interface.py @@ -215,7 +215,8 @@ class IFreqaiModel(ABC): self.data_drawer.return_null_values_to_strategy(dataframe, dh) return dh - if (not self.training_on_separate_thread and not self.follow_mode): + if (not self.training_on_separate_thread and not self.follow_mode + and self.data_drawer.pair_dict[metadata['pair']]['priority'] == 1): file_exists = False if trained_timestamp != 0: # historical model available