Sources of macroeconomic fluctuations in small open economies