This paper studies an equilibrium model with heterogeneous agents, asset price bubbles, and trading constraints. Market liquidity is modeled as a stochastic quantity impact from trading on the price. Bubbles are larger in liquid markets and when trading constraints are more binding. Systemic...