Modern Monetary Theory in an Open Economy