Emerging Economies, Trade Policy, and Macroeconomic Shocks