From 6235a4d92eff3ec4f4e0eaf5723674466be50566 Mon Sep 17 00:00:00 2001 From: Marijn Date: Thu, 27 May 2021 15:01:58 +0200 Subject: [PATCH] [changes] - Hyperopt code example --- docs/hyperopt.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/hyperopt.md b/docs/hyperopt.md index 0d7b1cc32..5f4e60b4a 100644 --- a/docs/hyperopt.md +++ b/docs/hyperopt.md @@ -237,9 +237,9 @@ class MyAwesomeStrategy(IStrategy): dataframe['macdhist'] = macd['macdhist'] bollinger = ta.BBANDS(dataframe, timeperiod=20, nbdevup=2.0, nbdevdn=2.0) - dataframe['bb_lowerband'] = boll['lowerband'] - dataframe['bb_middleband'] = boll['middleband'] - dataframe['bb_upperband'] = boll['upperband'] + dataframe['bb_lowerband'] = bollinger['lowerband'] + dataframe['bb_middleband'] = bollinger['middleband'] + dataframe['bb_upperband'] = bollinger['upperband'] return dataframe ```