feat: add starting_balance as argument to hyperopt_loss_function

This commit is contained in:
Matthias
2024-12-03 19:15:57 +01:00
parent 7a8971b9b6
commit b0b73bf166
9 changed files with 17 additions and 20 deletions

View File

@@ -116,6 +116,7 @@ def test_loss_functions_better_profits(default_conf, hyperopt_results, lossfunct
config=default_conf,
processed=None,
backtest_stats={"profit_total": hyperopt_results["profit_abs"].sum()},
starting_balance=default_conf["dry_run_wallet"],
)
over = hl.hyperopt_loss_function(
results_over,