Handout 6. [Revised version of what was distributed in class] Opening the economy to financial flows