Gold prices end the week with 2.3% gain