Thanks a lot for your helpful answers guys!
Indeed, @jessegrabowski 's hint did the trick.
I just replaced the sharpe definition with the already existent mean & std variables.
sharpe = mean / std * np.sqrt(252)
Thanks a lot for your helpful answers guys!
Indeed, @jessegrabowski 's hint did the trick.
I just replaced the sharpe definition with the already existent mean & std variables.
sharpe = mean / std * np.sqrt(252)