Gold traded near a record as investors assessed US inflation data that came in softer than expected. Platinum extended a breakneck rally that saw it surge close to $2,000 an ounce.