Meanwhile, inflation-adjusted dollar and Treasury yields rose over the same period.
Gold buyers have been supportive whenever its price has fallen to around $1900, effectively setting a floor.
Assets in exchange-traded funds backed by the metal are down 5% this year, but that hasn't depressed prices, and meanwhile central bank gold purchases have remained steady after a record 2022.
Spot gold rose 0.6% to trade at $1922.50 an ounce.