The U.S. stock market remained calm Wednesday, even as the price of oil got back to rising.

The S&P 500 edged down 0.1% for a second day of modest moves following what had been a wild stretch caused by the war with Iran. The Dow Jones industrial average dropped 289 points, or 0.6%, and the Nasdaq composite rose 0.1%.

Since the start of the war, sharp moves for oil prices have triggered swings up and down for financial markets worldwide, sometimes by the hour. Oil prices briefly spiked to their highest levels since 2022 this week because of the possibility that production in the Middle East could be blocked for a long time.

The price for a barrel of Brent crude, the international standard, rose 4.8% to settle at $91.98. A barrel of benchmark U.S. crude gained 4.6% to $87.25.

On Wall Street, the majority of stocks fell. Campbell’s sank 7.1% after the soup company reported a weaker profit for the latest quarter than analysts expected.

Helping to limit Wall Street’s losses was Oracle, which jumped 9.2%. The tech giant reported stronger profit and revenue for the latest quarter than analysts expected. It also raised its forecast for revenue growth next fiscal year, in part because of demand for cloud computing for artificial-intelligence training and inferencing.

All told, the S&P 500 fell 5.68 points to 6,775.80. The Dow Jones Industrial Average dropped 289.24 to 47,417.27, and the Nasdaq composite rose 19.03 to 22,716.13.

In stock markets abroad, indexes fell in Europe following better performances in Asia. Germany’s DAX lost 1.4%, while Japan’s Nikkei 225 rose 1.4%.

In the bond market, Treasury yields rose because of the upward pressure from higher oil prices. The yield on the 10-year Treasury climbed to 4.22% from 4.15% late Tuesday, a notable move for the bond market.

— Associated Press