* Dollar ticks up, euro hit by weak German data
* Yields rise as trade deal optimism boosts risk sentiment
* Oil prices up on trade talk hopes, OPEC cuts
By Saqib Iqbal Ahmed
NEW YORK, Jan 8 (Reuters) - An index of world stock markets rose for the third straight session on Tuesday, with investors hopeful that the United States and China would strike a deal to end their months-long trade war that has hurt financial markets.
Increased risk appetite helped lift U.S. Treasury yields, while the dollar, which hit an 11-week low on Monday, rebounded as the euro weakened on concerns about a slowdown in the euro zone economy.
Tuesday's stocks advance added to gains logged over the past two sessions following last week's strong U.S. employment report and comments from the Federal Reserve chief that calmed worries that interest rate hikes would hurt growth.
Trade and concerns over slowing economic growth triggered a selloff at the end of 2018 that culminated in Wall Street posting its worst monthly performance in about a decade in December, driving down earnings estimates and stock valuations.
On Tuesday, MSCI's world equity index, which tracks shares in 47 countries, rose 0.71 percent to a more than three-week high.
Trade talks this week in Beijing are the first face-to-face discussions since U.S. President Donald Trump and Chinese President Xi Jinping agreed in December to a 90-day truce in their trade war.
The United States and China will continue trade talks in Beijing for an unscheduled third day, a member of the U.S. delegation said on Tuesday.
Trump, in a post on Twitter on Tuesday, reiterated his recent statement that the talks with China were going well but gave no details.
"You're seeing some negotiations happen and the market is starting to think that perhaps we'll start to see a framework evolve," said Anik Sen, global head of equities at PineBridge Investments.
The recent stocks rally has lifted the S&P 500 by nearly 10 percent from 20-month lows hit around Christmas.
On Tuesday, the Dow Jones Industrial Average rose 256.1 points, or 1.09 percent, to close at 23,787.45, the S&P 500 gained 24.72 points, or 0.97 percent, to finish at 2,574.41 and the Nasdaq Composite added 73.53 points, or 1.08 percent, to end at 6,897.00.
European shares hit a three-week high in a broad-based rebound on hopes of a possible trade deal between China and the United States. The pan-European STOXX 600 index closed up 0.87 percent.
U.S. Treasury yields climbed, in line with higher U.S. stocks, on improved risk appetite and as the Treasury Department sold $38 billion in three-year notes to relatively soft demand.
Benchmark 10-year notes fell 12/32 in price to yield 2.7226 percent, up from 2.682 percent on Monday.
The dollar rose against the euro as investors focused on the risk of a euro zone recession after data showed more signs of slowing in the region. The euro was 0.3 lower against the greenback.
"The euro had its upturn halted by German data showing the third decline in as many months in a gauge of factory growth," said Joe Manimbo, senior market analyst at Western Union Business Solutions in Washington.
The improved appetite for risk and the stronger dollar weighed on gold prices. Spot gold slipped 0.27 percent to $1,285.1 per ounce.
Oil prices extended gains, supported by hopes that the U.S.-China trade talks might defuse the trade dispute, while OPEC-led supply cuts also tightened markets.
Brent crude futures rose $1.39 to settle at $58.72 a barrel, a 2.4 percent gain. U.S. West Texas Intermediate (WTI) crude futures rose $1.26 to settle at $49.78 a barrel, a 2.6 percent gain.
Reporting by Saqib Iqbal Ahmed; Additional reporting by Gertrude Chavez-Dreyfuss in New York and Sruthi Shankar in Bangalore; Editing by Dan Grebler