Rename ComplexHyperOptLoss to MultiMetricHyperOptLoss. Add it to test_loss_functions_better_profits.

This commit is contained in:
bearvar
2024-10-17 21:54:25 +05:00
parent 121bdbad84
commit 6eac798d91
2 changed files with 2 additions and 1 deletions

View File

@@ -99,4 +99,4 @@ class MultiMetricHyperOptLoss(IHyperOptLoss):
* log_expectancy_ratio
* log_winrate_coef
* trade_count_penalty
)
)

View File

@@ -95,6 +95,7 @@ def test_loss_calculation_has_limited_profit(hyperopt_conf, hyperopt_results) ->
"MaxDrawDownRelativeHyperOptLoss",
"CalmarHyperOptLoss",
"ProfitDrawDownHyperOptLoss",
"MultiMetricHyperOptLoss",
],
)
def test_loss_functions_better_profits(default_conf, hyperopt_results, lossfunction) -> None: