Pymc3 migration - Sharpe Ratio Example

Don’t you already have the moments from the parameters of the model for returns? The mean return is just mean, and the variance is std ** 2 * nu / (nu - 2)