This paper offers a theory by which dealer banks obtain funding liquidity by serving as intermediaries between hedge funds and cash investors in the markets for repurchase (repo) agreements. The model explains how the demand by dealer banks for funding liquidity determines repo haircuts and repo...