From 2670960ec47cc1dd120f1b0f5f30c86f6ed57902 Mon Sep 17 00:00:00 2001 From: Pialat Date: Thu, 12 Sep 2019 16:41:37 +0200 Subject: [PATCH] fix typo --- freqtrade/optimize/hyperopt_loss_calmar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/optimize/hyperopt_loss_calmar.py b/freqtrade/optimize/hyperopt_loss_calmar.py index 41856d292..caa11ed83 100644 --- a/freqtrade/optimize/hyperopt_loss_calmar.py +++ b/freqtrade/optimize/hyperopt_loss_calmar.py @@ -33,7 +33,7 @@ class CalmarHyperOptLoss(IHyperOptLoss): """ # exclude the case when no trade was lost - if(results.profit_percent.min() >= 0): + if results.profit_percent.min() >= 0: return MAX_LOSS simulated_drawdowns = []