Add documentation for hyperopt.strategy availability

This commit is contained in:
Matthias
2021-03-13 16:30:47 +01:00
parent 5e872273d1
commit eb4f05eb23
2 changed files with 47 additions and 2 deletions

View File

@@ -283,7 +283,7 @@ So let's write the buy strategy using these values:
"""
Define the buy strategy parameters to be used by Hyperopt.
"""
def populate_buy_trend(dataframe: DataFrame) -> DataFrame:
def populate_buy_trend(dataframe: DataFrame, metadata: dict) -> DataFrame:
conditions = []
# GUARDS AND TRENDS
if 'adx-enabled' in params and params['adx-enabled']: