avoid duplicating features with okx/gateio, ensure inference timer gets logged
This commit is contained in:
parent
90c5bfb4b5
commit
53df607067
@ -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:
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user