pysystemtrade icon indicating copy to clipboard operation
pysystemtrade copied to clipboard

Correlation instead of Covariance is used in Calculating Portfolio Variance?

Open chuhean opened this issue 7 months ago • 0 comments

In the function estimate_SR_given_weights() for static optimisation of the best set of instruments, there are 3 variables wt, mu, cm used to calculate the portfolio SR with neg_SR().

The formula used to calculate the variance requires the weight and covariance. However, the code seems to use weight (wt) and correlation (cm), instead of covariance.

chuhean avatar Jul 26 '24 05:07 chuhean