From 53df607067a0fdff38c1df7e00cdd0e81a166530 Mon Sep 17 00:00:00 2001 From: robcaulk Date: Sat, 5 Nov 2022 15:42:19 +0100 Subject: [PATCH] avoid duplicating features with okx/gateio, ensure inference timer gets logged --- freqtrade/freqai/data_kitchen.py | 2 +- freqtrade/freqai/freqai_interface.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqai/data_kitchen.py b/freqtrade/freqai/data_kitchen.py index 9772a308b..fab55ceee 100644 --- a/freqtrade/freqai/data_kitchen.py +++ b/freqtrade/freqai/data_kitchen.py @@ -1177,7 +1177,7 @@ class FreqaiDataKitchen: ready for training """ pairs = self.freqai_config["feature_parameters"].get("include_corr_pairlist", []) - + current_pair = current_pair.replace(':', '') for pair in pairs: pair = pair.replace(':', '') # lightgbm doesnt work with colons if current_pair != pair: diff --git a/freqtrade/freqai/freqai_interface.py b/freqtrade/freqai/freqai_interface.py index bdb8a2860..dad016cbd 100644 --- a/freqtrade/freqai/freqai_interface.py +++ b/freqtrade/freqai/freqai_interface.py @@ -776,7 +776,7 @@ class IFreqaiModel(ABC): """ if self.dd.current_candle > self.current_candle: self.get_corr_dataframes = True - self.pair_it = 0 + self.pair_it = 1 self.current_candle = self.dd.current_candle # Following methods which are overridden by user made prediction models.