 When a trade deficit occurs under a floating exchange rate, there will be increased demand for the foreign (rather than domestic) currency which will push up the price of the foreign currency in terms of the domestic currency.That in turn makes the price of foreign goods less attractive to the domestic market and thus pushes down the trade deficit.Under fixed exchange rates, this automatic rebalancing does not occur.