During the recent financial crisis developing countries have continued to accumulate both sovereign reserves and debt. To account for this empirical fact, we model the optimal portfolio choice of a country that is subject to liquidity and productivity shocks. We determine the equilibrium level...