improve deprecation note

This commit is contained in:
robcaulk 2023-01-09 20:15:03 +01:00
parent a61274ae18
commit 93aff9325e

View File

@ -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: