Normative properties of stock market equilibrium with moral hazard