Market structure is usually considered to be exogenous to trade flows in most empirical studies. This paper challenges this view by showing that the formation of market structure in an open economy is very closely related to trade quantities. We provide an original method, based on bilateral...