Portfolio Choice and Equilibrium in Capital Markets with Safety-First Investors