Gold rose 1 percent on Friday, erasing its losses for the week to climb along with stocks and other commodities, as well-received Chinese growth data boosted appetite for assets seen as higher risk, and as the euro steadied versus the dollar.

European shares took back the previous day's losses on Friday to climb 0.7 percent, while oil prices rose more than $1 a barrel. Gold has tended to move in line with so-called risky assets this year and against the dollar, which has emerged as investors' haven of choice.

Spot gold was up 0.7 percent at $1,581.84 an ounce at 1147 GMT, while U.S. gold futures for August delivery were up $16.60 an ounce at $1,581.90. Prices have held within a $1,525-$1,675 an ounce range for much of the last three months.

Gold's drifting with the tide, Macquarie analyst Hayden Atkins said. It's still in this range, where no-one has a lot of conviction over whether it should do one thing or another. We may get that in the next couple of months, but in the near term it's not clear what's going to push it one way or another.

The metal is now little changed from the end of last week but remains down nearly 1 percent so far in July, erasing gains made late last month on speculation the Federal Reserve would launch a new round of quantitative easing.

Further easing would maintain pressure on long-term interest rates, keeping the opportunity cost of holding gold low, and would likely weigh on the dollar. However, minutes of a Fed meeting this week suggested little support for imminent QE.

I don't expect the Fed to embark on quantitative easing within this quarter, unless there is a sharp deterioration of the economic situation in the United States, Peter Fertig, a consultant at Quantitative Commodity Research, said. That has been one of the reasons gold has traded lower this week.

For gold and the other precious metals to push higher, we would need to see more improvement in risk assets, he said. If there is to be a breakout of the current trading range to the upside, I expect this more for the final quarter.

Downward pressure on the metal, which took it to a low of $1,565.64 an ounce earlier on Friday, eased as the euro steadied versus the U.S. unit after a ratings downgrade for Italy earlier pushed it towards a two-year low.

INDIAN BUYERS RETREAT

On the physical markets, gold traders in major consumer India took to the sidelines on Friday as prices recovered, with a weak rupee making the metal more expensive for local buyers. Record local prices have weighed heavily on demand this year.

Unless physical players and/or opportune investors step in significantly at these levels, we see little standing in the way of further gold weakness in the near-term, UBS said in a note.

In the absence of fresh catalysts, market participants have focused on technicals, and from this perspective, gold looks vulnerable to the downside.

Barclays Capital, which identified chart resistance for spot gold at $1,595 an ounce, suggested selling into rallies. Risks remain for a retest of the larger range lows at 1525/26 before looking for signs of a base, it said.

Holdings of gold-backed exchange-traded funds, which issue securities backed with physical stocks of metal, dropped for the third session on Thursday to 70.4 million ounces, 0.7 percent below a peak of 70.9 million ounces in March.

The largest gold-backed ETF, New York's SPDR Gold Trust, has seen an outflow of nearly 10 tonnes so far in July.

Among other precious metals, silver was up 0.8 percent at $27.37 an ounce.

The gold/silver ratio, which measures the number of silver ounces needed to buy an ounce of gold, eased further from last month's near two-year high after silver outperformed on Thursday, bucking gold's losses to rise 0.3 percent.

The move was driven by a fresh offering from the Sprott Silver Trust, UBS said.

ETF buying on the back of a follow-on offering by Sprott Physical Silver Trust eventually counteracted the heavy sentiment that prevailed for most of the day, it said.

The sharp bounce caught the market by surprise and the short-covering rally that followed took prices to a high of $27.36 from the session's low of $26.50.

Spot platinum was up 1 percent at $1,422.95 an ounce, while spot palladium was up 0.6 percent at $577.18 an ounce.