Gold edged higher as the market weighed a weakening US economy against progress on ending the government shutdown.

Bullion traded near $4,017 an ounce after finishing last week little changed. The precious metal advanced on Friday as a measure of US consumer sentiment fell to near the lowest on record, with the shutdown and rising prices souring the outlook.