Stocks rose as investors cheered the dovish approach discussed in minutes from the latest Federal Reserve meeting, but the gains were muted by concerns that the partial shutdown of the U.S. government will continue for some time. The dollar fell with Treasuries, while oil surged above $52 a barrel and entered a bull market.

The S&P 500 index was up for a fourth consecutive day led by energy producers, reaching the highest level in almost a month. The Nasdaq benchmarks were the strongest performers on strength in semiconductors and technology hardware manufacturers.

The Fed minutes showed that many central bankers urged patience on future interest rate hikes, an indication that they're attentive to recent financial-market volatility and risks to the economic outlook.

"I'm happy to see that there was caution in the minutes because it means that the market didn't mug the Fed," Alicia Levine, chief strategist at BNY Mellon Investment Management chief strategist, said on Bloomberg TV. "You want it to be that this is what the FOMC really believes, that caution is warranted, that they're going to be data-dependent, and there are alternative outcomes that they should be aware of. I take great comfort in these minutes."

Stocks leaped as the minutes were released, but they quickly retreated as President Donald Trump emerged from a meeting with Senate Republicans. Trump said the GOP was "very unified" behind his plan to keep the government closed until he gets funding to build a wall along the Mexican border, which is at the center of the dispute.

"If the shutdown goes on for months longer we're not going to have a budget, and I think we're going to see a lot of fallout from that point," said Rich Guerrini, chief executive officer of PNC Investments, which manages $50 billion. "But I don't know that I see anything on the short-term other than partisan politics."

Earlier, equities gained after the Trump administration confirmed that China committed to buy more U.S. agricultural goods, energy and manufactured products. Trump is said to be eager to reach a trade agreement with China to help revive the flagging stock market. However, the countries remain far apart on some key issues. And Chinese and American officials are reportedly coordinating their messaging to make sure markets interpret the results of the meeting optimistically.

Although concerns linger about how protectionist tensions and political instability in the world's largest economy will affect global growth, they also set up a potential Goldilocks scenario for markets after Fed's apparent dovish shift.

"A softness in the economy or in some indicators would allow the Fed the space not necessarily to continue to raise," said Kim Forrest, senior portfolio manager at Fort Pitt Capital Group in Pittsburgh. "That is going to drive the market higher."

The Stoxx Europe 600 index climbed to the highest in a month led by carmakers and miners, while Hong Kong stocks set the pace for Asian benchmarks. And most industrial metals advanced after the Asian nation signaled measures to spur consumption.

Elsewhere, emerging-market stocks extended a rally that's taken MSCI's gauge to the highest in more than a month. The Bloomberg Commodity index rose for a sixth straight day, and gold ticked higher.

Load comments