Gold prices end the week nearly 1.8% higher