From 93aff9325e083954121617fa4f5cf42cce83dd1a Mon Sep 17 00:00:00 2001 From: robcaulk Date: Mon, 9 Jan 2023 20:15:03 +0100 Subject: [PATCH] improve deprecation note --- freqtrade/freqai/data_kitchen.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/freqtrade/freqai/data_kitchen.py b/freqtrade/freqai/data_kitchen.py index 3eb0906b1..719504122 100644 --- a/freqtrade/freqai/data_kitchen.py +++ b/freqtrade/freqai/data_kitchen.py @@ -1351,8 +1351,11 @@ class FreqaiDataKitchen: # the user is using the populate_any_indicators functions which is deprecated logger.warning("DEPRECATION WARNING: " "You are using the deprecated populate_any_indicators function. " - "Please update your strategy to use " - "the new feature_engineering functions.") + "This function will raise an error on March 1 2023. " + "Please update your strategy by using " + "the new feature_engineering functions. See \n" + "https://www.freqtrade.io/en/latest/freqai-feature-engineering/" + "for details.") df = self.use_strategy_to_populate_indicators_old_version( strategy, corr_dataframes, base_dataframes, pair, @@ -1395,7 +1398,6 @@ class FreqaiDataKitchen: corr_dataframes[p][tf] = None else: dataframe = base_dataframes[self.config["timeframe"]].copy() - # dataframe = strategy.dp.get_pair_dataframe(pair, self.config["timeframe"]) sgi = False for tf in tfs: