How is the risk of the portfolio calculated?
The risk of the portfolio is calculated using the covariance matrix of the individual asset returns, which measures the degree to which the returns of different assets move together.