change default conv_width to 1

This commit is contained in:
robcaulk
2022-11-03 21:11:26 +01:00
parent 444a068481
commit 6938ed6584
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ class IFreqaiModel(ABC):
if self.keras and self.ft_params.get("DI_threshold", 0):
self.ft_params["DI_threshold"] = 0
logger.warning("DI threshold is not configured for Keras models yet. Deactivating.")
self.CONV_WIDTH = self.freqai_info.get("conv_width", 1)
self.CONV_WIDTH = self.freqai_info['conv_width']
if self.ft_params.get("inlier_metric_window", 0):
self.CONV_WIDTH = self.ft_params.get("inlier_metric_window", 0) * 2
self.pair_it = 0