Most Latin American countries have either transformed or are in the midst of transforming their economies away from a dependence on commodities, which historically left them vulnerable to the volatile fluctuations of global prices for oil, food, metals and other raw materials.