That’s the variance, but sharpe wants the std. You can use std * pt.sqrt(nu / (nu - 2))
PS: This is why it’s not ideal to give the parameters moment names. In the normal case you have sigma = std, but here we don’t.
That’s the variance, but sharpe wants the std. You can use std * pt.sqrt(nu / (nu - 2))
PS: This is why it’s not ideal to give the parameters moment names. In the normal case you have sigma = std, but here we don’t.