From a79032bf75cf299c576ee7bf9f8cccbb29814c52 Mon Sep 17 00:00:00 2001 From: robcaulk Date: Sun, 29 May 2022 20:19:32 +0200 Subject: [PATCH] fixing bug in training queue --- freqtrade/freqai/freqai_interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/freqai/freqai_interface.py b/freqtrade/freqai/freqai_interface.py index 319240248..c09200a30 100644 --- a/freqtrade/freqai/freqai_interface.py +++ b/freqtrade/freqai/freqai_interface.py @@ -190,7 +190,8 @@ class IFreqaiModel(ABC): trained_timestamp, coin_first) = self.data_drawer.get_pair_dict_info(metadata) - if not self.training_on_separate_thread: + if (not self.training_on_separate_thread and + self.data_drawer.pair_dict[metadata['pair']]['priority'] == 1): file_exists = False if trained_timestamp != 0: # historical model available