Stocks closed with modest gains Wednesday, Feb. 24, 2016, after...

Stocks closed with modest gains Wednesday, Feb. 24, 2016, after a gloomy morning slide. Trader Peter Tuchman watched the slide on Tuesday at the New York Stock Exchange. Credit: AP / Richard Drew

Stocks rallied Wednesday afternoon after opening with a deep slide, led by declines in energy companies and banks as commodity prices fell, again.

Materials and energy stocks, which tend to swing widely along with commodities prices, posted the biggest gains.

At the close on Wall Street, The Dow Jones industrial average was up 53.2 points, about 0.3 percent, to 16,495. It had been down nearly 1.6 percent during morning trading. The Standard & Poor’s 500 index rose 8.5 points, about 0.4 percent, to 1,929.8. It had been down 1.5 percent in morning trading. The Nasdaq composite added 39 points, about 0.9 percent, to 4,442.6. It sank 1.7 percent during the morning.

As markets closed, benchmark U.S. crude gained 51 cents, about 1.6 percent, to $32.38 a barrel in electronic trading on the New York Mercantile Exchange. Brent crude, which is used to price oils internationally, closed up $1.19, about 3.6 percent, at $34.46 a barrel in London.

On the latest episode of "Sarra Sounds Off," Newsday's Gregg Sarra talks with new Shoreham-Wading River football coach Paul Longo and Jared Valluzzi has the plays of the week. Credit: Newsday/John Paraskevas, Steve Pfost

Sarra Sounds Off, Ep. 20: Longo named football coach at SWR On the latest episode of "Sarra Sounds Off," Newsday's Gregg Sarra talks with new Shoreham-Wading River football coach Paul Longo and Jared Valluzzi has the plays of the week.

On the latest episode of "Sarra Sounds Off," Newsday's Gregg Sarra talks with new Shoreham-Wading River football coach Paul Longo and Jared Valluzzi has the plays of the week. Credit: Newsday/John Paraskevas, Steve Pfost

Sarra Sounds Off, Ep. 20: Longo named football coach at SWR On the latest episode of "Sarra Sounds Off," Newsday's Gregg Sarra talks with new Shoreham-Wading River football coach Paul Longo and Jared Valluzzi has the plays of the week.

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME