NEW YORK (Reuters) - World shares rallied on Monday in a broad advance that brushed aside fresh rises in global bond yields driven up by the fear of faster inflation as investors shifted asset allocations and tried to put last week’s worst rout in two years past them.

Concerns about rising consumer prices and a bigger U.S. budget deficit sparked a selloff in fixed income markets.

The yield on U.S. five-year Treasury Inflation Protected Securities, bonds known as TIPS that are designed to protect against inflation, rose to its highest level since 2009.

A return of risk appetite hurt the U.S. currency and helped higher-yielding emerging market currencies as well as commodity-linked currencies such as the Australian and Canadian dollars.

The dollar fell against the euro after its best week against the single currency in nearly 15 months.

“Investors probably were mulling things over the weekend and concluded that the economy is fairly strong, earnings are holding up, so there’s no particular reason to panic or sell. So some money probably came back into the market,” said John Carey, portfolio manager at Amundi Pioneer Asset Management in Boston.

Volatility picked up, with the major indexes on Wall Street climbing more than 1 percent shortly after the open, pared about half that advance and then gained further.

MSCI’s all-country world index of stock performance in 47 countries closed up 1.18 percent, led by Apple Inc and Amazon.com. Apple rose 4.03 percent and Amazon 3.48 percent.

The pan-European FTSEurofirst 300 index of leading regional shares closed up 1.22 percent while MSCI’s gauge of emerging market stocks rose 0.92 percent.

Traders work on the floor of the New York Stock Exchange, (NYSE) in New York, U.S., February 9, 2018. REUTERS/Brendan McDermid/File Photo

The market is likely to remain choppy over the next couple of weeks as a tug-of-war from short-term negative price momentum meets long-term fundamentals, said Jeff Schulze, investment strategist at ClearBridge Investments in New York.

The new tax code President Donald Trump signed in December and increased federal spending will add stimulus to the U.S. economy, he said. Markets can live with yields above 3 percent and equities will benefit from higher growth, he added.

“I do believe we haven’t seen the low, we’re pretty close to it and that this is a buying opportunity, just longer term in nature,” Schulze said.

A major shift in outlook is taking place that involves the reallocation of capital across different areas and sectors of the market, said Peter Kenny, senior market strategist at Global Markets Advisory Group, in New York.

“We’re at an inflection point in the market,” Kenny said. “It’s very significant for a lot of reasons. It involves fear of inflation, a long overdue and much-anticipated pullback, and it involves elevated equity valuations,” he said.

The Dow Jones Industrial Average rose 410.37 points, or 1.7 percent, to 24,601.27. The S&P 500 gained 36.45 points, or 1.39 percent, to 2,656 and the Nasdaq Composite added 107.47 points, or 1.56 percent, to 6,981.96.

The stock rally and improving risk appetite reduced the safe-haven appeal of government debt.

U.S. Treasury yields rose across most maturities, with the benchmark 10-year note hitting a four-year high. The prospect of strong U.S. economic growth and global central banks normalizing years of easy monetary policy drove yields higher.

The 10-year Treasury note fell 7/32 in price to yield 2.8566 percent after earlier hitting 2.902 percent.

U.S. inflation data for January is due on Wednesday, which should shed more light on whether the recent run-up in yields is warranted.

Euro zone government bond yields edged higher on signs that policymakers, with their eyes on inflation, will maintain a monetary tightening path regardless of equity market volatility.

Germany’s 10-year bond yields, the euro zone’s benchmark, traded around 0.76 percent after earlier rising as high as 0.786 percent.

The dollar index fell 0.34 percent, with the euro up 0.48 percent to $1.2292. The Japanese yen strengthened 0.16 percent versus the greenback at 108.63 per dollar.

Oil recouped some of last week’s steep losses as global equities steadied.

Brent crude futures fell 20 cents to settle $62.09 a barrel while U.S. West Texas Intermediate crude futures for March delivery rose 9 cents to settle at $59.29 a barrel.

U.S. gold futures settled up 0.8 percent at $1,326.40.