This paper studies the endogenous structure of intermediation when heterogeneous intermediaries choose between becoming a middleman or a market maker, and the relation between the equilibrium market structure and price dispersion. We obtain three main results: First, middlemen and oligopolistic...