Gold prices end the week with a loss of 0.8%