The CAPM theory assumed that the portfolio would hold an amount of risk free assets plus it would embrace all risky assets weighted by their market capitalization.
Contrast the dollar-weighted return, which takes into account not only the percentage performance in each month but also the amount of dollars the manager has been given to work with.