Add config to hyperopt_loss_function documentation

This commit is contained in:
Matthias
2021-02-17 07:04:29 +01:00
parent eff0d46ea1
commit 11b20d6932
3 changed files with 7 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ class SampleHyperOptLoss(IHyperOptLoss):
@staticmethod
def hyperopt_loss_function(results: DataFrame, trade_count: int,
min_date: datetime, max_date: datetime,
processed: Dict[str, DataFrame],
config: Dict, processed: Dict[str, DataFrame],
*args, **kwargs) -> float:
"""
Objective function, returns smaller number for better results