This paper investigates the effect of endogenous horizontal product differentiation on trade patterns and the gains from trade under Bertrand and Cournot oligopoly. Firms differentiate their products to mitigate competition, but only if the investment required is not too high. Investment in...