From 78bf40eaa9257c4abd1244e6c33599e55a635a1f Mon Sep 17 00:00:00 2001 From: bearvar Date: Thu, 17 Oct 2024 22:09:00 +0500 Subject: [PATCH] Edit EXPECTANCY_CONST to show it can be decimal. --- freqtrade/optimize/hyperopt_loss/hyperopt_loss_multi_metric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/optimize/hyperopt_loss/hyperopt_loss_multi_metric.py b/freqtrade/optimize/hyperopt_loss/hyperopt_loss_multi_metric.py index 3c3c5ca96..110edc78f 100644 --- a/freqtrade/optimize/hyperopt_loss/hyperopt_loss_multi_metric.py +++ b/freqtrade/optimize/hyperopt_loss/hyperopt_loss_multi_metric.py @@ -34,7 +34,7 @@ LARGE_NUMBER = 1e6 # Target trade amount, if higher that TARGET_TRADE_AMOUNT - no penalty TARGET_TRADE_AMOUNT = 50 # Coefficient to adjust impact of expectancy -EXPECTANCY_CONST = 2 +EXPECTANCY_CONST = 2.0 # Coefficient to adjust profit factor impact PF_CONST = 1.0 # Coefficient to adjust winrate impact