Back to Community
efficient frontier of consumer defensive assets

in my attempt to code the portfolio standard deviation i seem to have encountered a alignment error... the covariance matrix of 212 assets computes as a 51x51 matrix. can someone please help . why is the covariance matrix of dimension 51x51?

Loading notebook preview...