From 298f9b225d472efe10f661858d935db5bfd27128 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 18 Apr 2024 19:08:17 +0200 Subject: [PATCH] Fix broken sample of @informative decorator closes #7095 --- docs/strategy-customization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/strategy-customization.md b/docs/strategy-customization.md index 900dafb33..e368a8056 100644 --- a/docs/strategy-customization.md +++ b/docs/strategy-customization.md @@ -551,8 +551,8 @@ for more information. # Define BTC/STAKE informative pair. A custom formatter may be specified for formatting # column names. A callable `fmt(**kwargs) -> str` may be specified, to implement custom - # formatting. Available in populate_indicators and other methods as 'rsi_upper'. - @informative('1h', 'BTC/{stake}', '{column}') + # formatting. Available in populate_indicators and other methods as 'rsi_upper_1h'. + @informative('1h', 'BTC/{stake}', '{column}_{timeframe}') def populate_indicators_btc_1h_2(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe['rsi_upper'] = ta.RSI(dataframe, timeperiod=14) return dataframe