(Adds U.S. markets' closing levels, quotes)
* Wall St snaps six-day losing streak; tech stocks lead
* China trade surplus with U.S. hits record high
* Dollar recovers; debt yields rise
By Caroline Valetkevitch and Laila Kearney
NEW YORK, Oct 12 (Reuters) - Stock markets worldwide rebounded on Friday after a multi-day sell-off but still registered their biggest weekly losses in months, while U.S. Treasury yields rose and the dollar held its gains.
Wall Street snapped a six-day losing streak as investors looked for bargains even as worries about U.S.-China trade tensions lingered. Technology shares led the gains.
"People are starting to buy in, thinking the higher-flying growth stocks were oversold," said Janna Sampson, co-chief investment officer at OakBrook Investments LLC in Lisle, Illinois.
But until the United States and China reach a trade deal, the rebound could be vulnerable as investors are anxious about the impact of tariffs on corporate profits. "If earnings come out good I think this rally is sustainable if we don't get negative trade news," she said.
Kicking off the U.S. earnings reporting period, three of the largest U.S. banks reported double-digit profit growth on Friday. The results reflected an array of positive business factors including a lift from cost-cutting programs implemented after the 2007-2009 financial crisis.
All three major U.S. stocks indexes posted their biggest weekly percentage declines since March 23, while the small-cap Russell 2000 index fell 5.2 percent for the week, its biggest weekly drop since January 2016.
The biggest market shakeout since February has been blamed on factors including fears about the impact of the U.S.-China tariff fight, a spike in U.S. bond yields this week and caution ahead of earnings season.
The Dow Jones Industrial Average rose 287.16 points, or 1.15 percent, to 25,339.99, the S&P 500 gained 38.76 points, or 1.42 percent, to 2,767.13 and the Nasdaq Composite added 167.83 points, or 2.29 percent, to 7,496.89.
For the week, the S&P 500 was down 4.1 percent.
The pan-European FTSEurofirst 300 index lost 0.25 percent and MSCI's gauge of stocks across the globe gained 1.10 percent. The MSCI index was down 3.9 percent for the week in its biggest weekly decline since March 23.
U.S. Treasury yields edged up, recovering from falls in the previous session, as investors unwound safe-haven bids.
Benchmark 10-year U.S. Treasury notes last fell 10/32 in price to yield 3.167 percent, from 3.131 percent late on Thursday.
The dollar climbed against a basket of currencies along with the rebound in equities and as robust Chinese export figures soothed worries about the world's second-biggest economy and its trade war with Washington.
China's trade surplus with the United States hit a record high in September, providing a likely source of contention with Trump over trade policies and the yuan currency.
The data showed solid expansion in China's overall imports and exports, suggesting little damage to the country from the tit-for-tat tariffs with the United States.
The dollar index rose 0.25 percent, with the euro down 0.3 percent to $1.1558.
Gold was down 0.5 percent at $1,217.81 an ounce. On Thursday, bullion jumped about 2.5 percent on safe-haven buying during the equities selloff.
Crude oil futures ended slightly higher, following gains in the stocks market, after earlier swinging lower on a weakening demand outlook. U.S. crude rose 0.5 percent to settle at $71.34 a barrel, while Brent gained 0.2 percent to $80.43.
Additional reporting by Sinead Carew and Gertrude Chavez-Dreyfuss in New York; Ritvik Carvalho and Alex Lawler in London, and Shreyashi Sanyal in Bengaluru; Editing by Nick Zieminski and James Dalgleish