Wall Street stocks finished a volatile quarter on a positive note on Monday, while oil prices slid amid reports that Saudi Arabia restored oil production more quickly than expected following attacks on infrastructure.

Analysts cited better-than-expected Chinese manufacturing data, as well as comments from Trump administration officials that downplayed the likelihood of potential new US restrictions on Chinese investment.

US stocks had fallen Friday following reports the White House was weighing a plan to delist Chinese companies from US stock markets.

Investors are looking ahead to the resumption of talks between Beijing and Washington in October, said Quincy Krosby, chief market strategist of Prudential Financial.

The talks are “clearly a positive for the markets because the effect it has on the world economy is paramount going into the last quarter,” Krosby said.

The broad-based S&P 500 finished at 2,976.74, up 0.5 percent for the session and 1.2 percent for the quarter.

The Dow also finished modestly higher for the third quarter, while the Nasdaq edged lower.

Bourses in Europe and Asia finished the day mixed.

Oil prices fell sharply following reports that Saudi Arabia had essentially restored its production following attacks on its oil infrastructure September 14 that initially led to a big spike in prices.

The retreat in prices also followed remarks by Saudi leader Mohammed bin Salman on “60 Minutes” that endorsed a non-military solution for a longstanding conflict with Iran, which Saudi Arabia has blamed for the recent oilfield attacks.

The Saudi prince said a war would be catastrophic for global growth.

“Oil supplies will be disrupted and oil prices will jump to unimaginably high numbers that we haven’t seen in our lifetimes,” the prince said.

“The region represents about 30 percent of the world’s energy supplies, about 20 percent of global trade passages, about four percent of the world GDP. Imagine all of these three things stop,” he said.

“This means a total collapse of the global economy and not just Saudi Arabia or the Middle East countries.”

Analysts said the drop in oil prices also reflected worries about slowing global growth.

A note from S&P said that while US recession risk has increased, it still views a recession as “unlikely” within the next 12 months.

But the grinding US-China trade conflict has weighed on growth.

“The stalemate in trade negotiations has also hurt business confidence among nonfinancial corporates, as evidenced by minimal capital expenditure growth and a contraction in manufacturing,” said David Tesher, a managing director at S&P Global Ratings.

Key figures around 2050 GMT

New York – Dow: UP 0.4 percent at 26,916.83 (close)

New York – S&P 500: UP 0.5 percent at 2,976.74 (close)

New York – Nasdaq Composite Index: UP 0.8 percent at 7,999.34 (close)

London – FTSE 100: DOWN 0.2 percent at 7,408.21 (close)

Frankfurt – DAX 30: UP 0.4 percent at 12,428.08 (close)

Paris – CAC 40: UP 0.7 percent at 5,677.79 (close)

EURO STOXX 50: UP 0.7 percent at 3,569.45 (close)

Hong Kong – Hang Seng: UP 0.5 percent at 26,092.27 (close)

Shanghai – Composite: DOWN 0.9 percent at 2,905.19 (close)

Tokyo – Nikkei 225: DOWN 0.6 percent at 21,755.84 (close)

Euro/dollar: DOWN at $1.0900 from $1.0940 at 2100 GMT

Pound/dollar: UP at $1.2294 from $1.2292

Euro/pound: DOWN at 88.66 pence from 89.00 pence

Dollar/yen: UP at 108.10 yen from 107.92

Brent North Sea crude: DOWN 1.8 percent at $60.78 per barrel

West Texas Intermediate: DOWN 3.3 percent at $54.07 per barrel