I am calculating the historical portfolio variance of various long-short equity portfolios. For simplicity, assume the portfolio is long stock A with weight 1.0 and short stock B with weight -0.5. So cash/risk free is 0.5 for an overall portfolio weight of 1.0.
Since $\sigma^2_\text{risk free} = 0$ and $\sigma^2_{\text{risk free}, X} = 0$, I reduce the portfolio to a 2x2 covariance matrix for A and B with weights [1.0, -0.5]. However, the weights don't total 1 for this portfolio and I thought the weights have to total one?
Am I thinking about this correctly?