From e6663c030452b174acdc1f2f76f9f6b6e7a7cd2c Mon Sep 17 00:00:00 2001 From: konradbeck Date: Mon, 13 Nov 2023 13:50:32 +0200 Subject: [PATCH] Update strategy-customization.md Shouldn't the timeperiod be 100 when defining a ema100? --- docs/strategy-customization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/strategy-customization.md b/docs/strategy-customization.md index 59dbccb03..e80a30c64 100644 --- a/docs/strategy-customization.md +++ b/docs/strategy-customization.md @@ -173,7 +173,7 @@ You can use [recursive-analysis](recursive-analysis.md) to check and find the co In this example strategy, this should be set to 400 (`startup_candle_count = 400`), since the minimum needed history for ema100 calculation to make sure the value is correct is 400 candles. ``` python - dataframe['ema100'] = ta.EMA(dataframe, timeperiod=400) + dataframe['ema100'] = ta.EMA(dataframe, timeperiod=100) ``` By letting the bot know how much history is needed, backtest trades can start at the specified timerange during backtesting and hyperopt.