We develop a model of an order-driven exchange competing for order flow with off-exchange trading mechanisms. Large investors can trade in either the primary market or the off-exchange market and induce liquidity externalities. Liquidity suppliers in the primary market face a trade-off between...