fixed to bracket notation
This commit is contained in:
parent
a5911bae7f
commit
19f397f59a
@ -43,7 +43,7 @@ class SharpeHyperOptLossDaily(IHyperOptLoss):
|
||||
* 100.0
|
||||
)
|
||||
|
||||
if (np.std(sum_daily.profit_percent) != 0.):
|
||||
if (np.std(dataframe['profit_percent']) != 0.):
|
||||
sharp_ratio = (
|
||||
sum_daily["profit_percent"].mean()
|
||||
/ np.std(sum_daily["profit_percent"])
|
||||
|
Loading…
Reference in New Issue
Block a user