From f2762e3b4bccd03f2e0afe79fa40cf795db5b8c1 Mon Sep 17 00:00:00 2001 From: robcaulk Date: Fri, 3 Jun 2022 16:58:51 +0200 Subject: [PATCH] fix bug in return_values() --- freqtrade/freqai/prediction_models/CatboostPredictionModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqai/prediction_models/CatboostPredictionModel.py b/freqtrade/freqai/prediction_models/CatboostPredictionModel.py index 9a5059bcf..3cea0eb9b 100644 --- a/freqtrade/freqai/prediction_models/CatboostPredictionModel.py +++ b/freqtrade/freqai/prediction_models/CatboostPredictionModel.py @@ -24,7 +24,7 @@ class CatboostPredictionModel(IFreqaiModel): dataframe["do_predict"] = dh.full_do_predict dataframe["target_mean"] = dh.full_target_mean dataframe["target_std"] = dh.full_target_std - if self.freqai_info('feature_parameters', {}).get('DI-threshold', 0) > 0: + if self.freqai_info.get('feature_parameters', {}).get('DI-threshold', 0) > 0: dataframe["DI"] = dh.full_DI_values return dataframe