We assume that the agents have a constant relative risk aversion so that the utility of the capital allocation decision by agent j with belief h is given by

Uj,th=Ej,th(rj,t+1c)-
aj
2
Vj,t+1h(rj,tc),     (21)
where aj is the risk aversion parameter of agent j. Every agent chooses an asset allocation that maximizes his utility
Maxyj,th Ej,th(rj,t+1c)-
aj
2
Vj,th(rj,t+1c) under CAL (6.19) or (6.20).     (22)
The first order condition of (6.22) is
d Uj,th
d yj,th
=Eth(rt+1P-rF) - aj yj,th Vth(rt+1P)=0.
This implies that the optimal fraction of individual wealth invested in the risky asset by agent j with belief h as function of the price Pt is equal to
yj,th(Pt)=
Eth(rt+1P-rF)
aj Vth(rt+1P)
.     (23)
Since the second order condition
d2 Uj,th
d (yj,th)2
=-aj Vth(rt+1P)<0
is satisfied, utility is maximized. If yj,th>0, then a long position in the risky asset is held. If yj,th<0, then a short position in the risky asset is held. If we assume that all agents have the same risk aversion parameter aj=a, then all agents with the same belief h invest the same fraction of their individual wealth in the risky asset. If agent j has belief h, then yj,t=yj,th=yth, where yth is the optimal fraction of wealth invested in the risky asset at time t recommended by belief h. Under the assumption that aj=a it is also true that Uj,th=Uth for all j. Further we assume that the conditional variance Vth(rt+1P)=σ2 is constant through time and equal for all beliefs. yth(Pt) can now be rewritten as:
yth(Pt)=
1
Pt
Eth(Pt+1+Dt+1)-R
a σ2
,
    (24)
which is a convex monotonically decreasing function of Pt. Note that we can bring Pt outside the expectations formula, because the price is not a random variable, but an equilibrium price set by the market auctioneer. Stated differently, the fraction of wealth invested in the risky asset at time t depends on the price set by the market at time t and the forecast or belief about the price at time t+1, based on all available information until time t but not including Pt. Figure 6.1 illustrates the demand function of the mean-variance utility maximizing belief.
246