This commit is contained in:
Pialat 2019-09-12 16:41:37 +02:00
parent da419e6022
commit 2670960ec4

View File

@ -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 = []