moved deprecated warning to start function

This commit is contained in:
Wagner Costa
2023-01-10 09:10:30 -03:00
parent 67495530b7
commit 2241f24290
2 changed files with 26 additions and 8 deletions

View File

@@ -1349,13 +1349,6 @@ class FreqaiDataKitchen:
else:
# 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. "
"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,