Gold anodes sit stacked in a vault at the Perth Mint Refinery in Perth, Australia, on August 9, 2018.

Gold prices rose on Wednesday along with equities as the U.S. dollar softened, with markets showing little worry over the latest escalation in the U.S.-China trade war.

climbed 0.5 percent to $1,203.48 an ounce. U.S. gold futures were up 0.4 percent at $1,208.20 an ounce.

China and the United States plunged deeper into their trade feud on Tuesday after Beijing added $60 billion in U.S. products to its import tariff list in retaliation for President Donald Trump's planned levies on $200 billion in Chinese goods.

"The U.S. decision to impose a 10 percent tariff - as opposed to a 25 percent one (expected) - has encouraged investors in the sense there could be hope for a future compromise on trade," said John Sharma, an economist at National Australia Bank.

Gold prices have declined about 12 percent since April, hurt by the intensifying U.S.-China trade dispute and on rising U.S. interest rates.

Investors have been buying the dollar in the belief the United States has less to lose from the dispute. But a spot of weakness in the dollar may indicate investors are starting to worry about the impact of the tariffs on the U.S. economy.

"It appears that investors are beginning to view tariffs - while likely negative for China's exports - could also prove detrimental to the United States as well, given the disruptive impact on global supply chains," Sharma said.

The dollar index, which measures the greenback against a basket of major currencies, was down 0.1 percent.

"People are following the U.S. dollar and looking for clues from the upcoming Federal Reserve meeting later this month," said Peter Fung, head of dealing at Wing Fung Precious Metals in Hong Kong.