avoid duplicating features with okx/gateio, ensure inference timer gets logged

This commit is contained in:
robcaulk 2022-11-05 15:42:19 +01:00
parent 90c5bfb4b5
commit 53df607067
2 changed files with 2 additions and 2 deletions

View File

@ -1177,7 +1177,7 @@ class FreqaiDataKitchen:
ready for training ready for training
""" """
pairs = self.freqai_config["feature_parameters"].get("include_corr_pairlist", []) pairs = self.freqai_config["feature_parameters"].get("include_corr_pairlist", [])
current_pair = current_pair.replace(':', '')
for pair in pairs: for pair in pairs:
pair = pair.replace(':', '') # lightgbm doesnt work with colons pair = pair.replace(':', '') # lightgbm doesnt work with colons
if current_pair != pair: if current_pair != pair:

View File

@ -776,7 +776,7 @@ class IFreqaiModel(ABC):
""" """
if self.dd.current_candle > self.current_candle: if self.dd.current_candle > self.current_candle:
self.get_corr_dataframes = True self.get_corr_dataframes = True
self.pair_it = 0 self.pair_it = 1
self.current_candle = self.dd.current_candle self.current_candle = self.dd.current_candle
# Following methods which are overridden by user made prediction models. # Following methods which are overridden by user made prediction models.