diff --git a/freqtrade/freqai/freqai_interface.py b/freqtrade/freqai/freqai_interface.py index b7c879ff0..6a1d97470 100644 --- a/freqtrade/freqai/freqai_interface.py +++ b/freqtrade/freqai/freqai_interface.py @@ -92,6 +92,11 @@ class IFreqaiModel(ABC): self.dh.save_data(self.model) else: self.model = self.dh.load_data() + strategy_provided_features = self.dh.find_features(dataframe_train) + if strategy_provided_features != self.dh.training_features_list: + logger.info("User changed input features, retraining model.") + self.model = self.train(dataframe_train, metadata) + self.dh.save_data(self.model) preds, do_preds = self.predict(dataframe_backtest, metadata)