commented method deletition
This commit is contained in:
parent
7811a36ae9
commit
4bce64b427
@ -23,8 +23,7 @@ class ProfitDrawDownHyperOptLoss(IHyperOptLoss):
|
|||||||
total_profit = results["profit_abs"].sum()
|
total_profit = results["profit_abs"].sum()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
_, _, _, _, _, max_drawdown_abs = calculate_max_drawdown(results, value_col="profit_abs")
|
max_drawdown_abs = calculate_max_drawdown(results, value_col="profit_abs")[5]
|
||||||
# max_drawdown_abs = calculate_max_drawdown(results, value_col="profit_abs")[5]
|
|
||||||
except ValueError:
|
except ValueError:
|
||||||
max_drawdown_abs = 0
|
max_drawdown_abs = 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user