This paper develops a model where firms' equilibrium capital structures depend on firms' risk characteristics and investors' aggregate risk appetite. I assume that the law of one price fails because security markets are incomplete and risk-sharing through short-selling or borrowing is limited....