The Congressional mandate to develop competitive securities markets in the United States has focused attention on the cost of liquidity to investors. Prior studies have emphasized the impact of external competition in the form of competing markets and/ or competing dealers on the bid-ask spread of the dealer. However, the spread of the specialist (dealer) on the NYSE may or may not be observable because of the interaction between public limit orders and the specialist's quotes. Our study develops a model of this interaction, and empirically verifies that internal competition in the form of limit orders has an important impact on the cost of liquidity to investors.