Add typehint to corr_pairlist

This commit is contained in:
Matthias 2022-10-30 13:28:01 +01:00
parent 650bb8b7d7
commit 391c3f56f7
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ class IFreqaiModel(ABC):
self.identifier: str = self.freqai_info.get("identifier", "no_id_provided")
self.scanning = False
self.ft_params = self.freqai_info["feature_parameters"]
self.corr_pairlist = self.ft_params.get("include_corr_pairlist", [])
self.corr_pairlist: List[str] = self.ft_params.get("include_corr_pairlist", [])
self.keras: bool = self.freqai_info.get("keras", False)
if self.keras and self.ft_params.get("DI_threshold", 0):
self.ft_params["DI_threshold"] = 0