Managing Currency Crises in Emerging Markets