Managing large fluctuations in commodity prices is a formidable task for governments and enterprises.