How Macroeconomics Shapes International Trade