fix typo
This commit is contained in:
parent
da419e6022
commit
2670960ec4
@ -33,7 +33,7 @@ class CalmarHyperOptLoss(IHyperOptLoss):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
# exclude the case when no trade was lost
|
# exclude the case when no trade was lost
|
||||||
if(results.profit_percent.min() >= 0):
|
if results.profit_percent.min() >= 0:
|
||||||
return MAX_LOSS
|
return MAX_LOSS
|
||||||
|
|
||||||
simulated_drawdowns = []
|
simulated_drawdowns = []
|
||||||
|
Loading…
Reference in New Issue
Block a user