adicionado pontuação no texto
This commit is contained in:
parent
4526f39903
commit
0bad002ed8
@ -163,7 +163,7 @@ class Hyperopt(Backtesting):
|
||||
if (np.std(total_profit) != 0.):
|
||||
sharp_ratio = expected_average_return/np.std(total_profit)*np.sqrt(365)
|
||||
else:
|
||||
sharp_ratio = -20
|
||||
sharp_ratio = -20.
|
||||
|
||||
sharp_ratio = -sharp_ratio
|
||||
# print(expected_average_return, np.std(total_profit), sharp_ratio)
|
||||
|
Loading…
Reference in New Issue
Block a user