Foreign trade prospered, while the rest of the economy stagnated.