Gold was on track to snap a five-day losing streak as the price of the precious metal jumped Wednesday.