This paper investigates a financial market in which investors with linear mean-variance preferences and multiperiod planning horizons of arbitrary finite length interact. Given heterogeneous subjective beliefs, the temporary equilibrium map determining market clearing prices is calculated explicitly. The classical capital market line result of CAPM theory is extended showing that under homogeneous beliefs investors with identical multiperiod planning horizons hold portfolios with equal proportions of risky assets. The existence of perfect forecasting rules for first and second moment beliefs which generate rational expectations is established.