Title: "Balance of trade, the terms of trade, and the real exchange rate: an intertemporal optimizing framework."