fixing? hyperopt

This commit is contained in:
Gert Wohlgemuth 2018-07-16 21:03:41 -07:00 committed by Matthias
parent 5871488858
commit abc55a6e6b

View File

@ -75,7 +75,7 @@ class Hyperopt(Backtesting):
return arg_dict
@staticmethod
def populate_indicators(dataframe: DataFrame) -> DataFrame:
def populate_indicators(dataframe: DataFrame, pair:str) -> DataFrame:
dataframe['adx'] = ta.ADX(dataframe)
macd = ta.MACD(dataframe)
dataframe['macd'] = macd['macd']