NEW YORK (Reuters) - Stock prices across the world climbed to record highs on Tuesday on news euro zone business activity accelerated to a six-year high, while the dollar gained after hawkish comments from Federal Reserve officials.

A woman walks past the London Stock Exchange building in the City of London, Britain, January 16 , 2017. REUTERS/Toby Melville

The revived possibility of a U.S. rate hike next month, together with demand for risky assets, weighed on gold prices. It also propelled bond yields higher before they retreated on safe-haven demand as polls showed anti-EU and anti-immigrant Marine Le Pen holding her lead in the first round of the French presidential election.

Oil futures rose after OPEC said it was sticking to its deal to reduce output.

The rally in equity markets around the globe, led by Wall Street, has been stoked by hopes of tax cuts, infrastructure spending and looser regulations from U.S. President Donald Trump and a Republican-controlled Congress.

Details on U.S. fiscal stimuli remained sketchy, but investors seemed patient for progress on these possible programs as they have been assuaged by upbeat company results.

“There was a period last week, I think, where people were getting a little worried about whether the administration was getting sidetracked,” said Rick Meckler, president of LibertyView Capital Management in Jersey City, New Jersey.

“A couple days later, those worries seem to have temporarily subsided,” Meckler said.

MSCI's world stock index .MIWD00000PUS which tracks shares in 45 nations, rose 0.42 percent to an all-time peak of 446.21.

On Wall Street, the Dow Jones Industrial Average .DJI rose 118.95 points, or 0.58 percent, to finish at 20,743, the S&P 500 .SPX gained 14.22 points, or 0.60 percent, to end at 2,365.38 and the Nasdaq Composite .IXIC added 27.37 points, or 0.47 percent, to close at 5,865.95.

Slideshow ( 2 images )

The three U.S. stock indexes touched fresh record highs boosted by strong earnings reports from Wal-Mart and other retailers.

Europe's benchmark index of 300 leading shares .FTEU3 touched its highest since Dec. 2015, ended up 0.6 percent at 1,471.87 points. Purchasing manager index (PMI) reports showed the euro zone economy expanding much faster and more smoothly than expected.

Earlier, stocks had traded lower after Europe's biggest bank HSBC's HSBA.L surprised with a 62-percent drop in annual profits.

Stronger appetite for equities and chances of another U.S. rate increase in the coming months lifted the dollar index .DXY by 0.46 percent at 101.41.

Hawkish comments from Federal Reserve officials and European political uncertainty boosted the dollar and the greenback was on course for its steepest gain against the euro in two weeks.

Philadelphia Fed President Patrick Harker said on Tuesday he would likely support a quarter point rate increase at the central bank’s March 14-15 meeting if the economy improves further.

Cleveland Fed President Loretta Mester said late on Monday she would be comfortable raising rates if the economy maintained its current performance.

Interest rates futures implied traders saw a 22-percent chance the Fed will raise rates next month FFH7, up from 18 percent on Friday, CME Group's FedWatch program showed.

U.S. financial markets were closed on Monday for Presidents Day.

U.S. 10-year Treasury yield US10YT=RR was fractionally higher at 2.433 percent, while German 10-year Bund yield DE10YT=RR edged up 0.6 basis point at 0.305 percent.

In the oil market, Brent crude LCOc1 finished 48 cents or 0.85 percent higher at $56.66 a barrel. U.S. crude CLc1 settled up 66 cents or 1.24 percent at $54.06.

Spot gold prices XAU= slipped 0.13 percent, to $1,236.60 an ounce.