NEW YORK (AP) — Stocks staged a rapid comeback in late-afternoon trading to close solidly higher Wednesday, helped by a surge in the price of oil and a decline in the U.S. dollar.
Chipotle Mexican Grill fell as the company said a federal investigation into its E. coli outbreak had widened, and Yahoo sank as the troubled Internet company announced layoffs and plans to sell businesses.
The Dow Jones industrial average rose 183.12 points, or 1.1 percent, to 16,336.66. The Standard & Poor's 500 index rose 9.50 points, or 0.5 percent, to 1,912.53 and the Nasdaq composite fell 12.71 points, or 0.3 percent, to 4,504.24.
It was a day of major swings. The Dow had been down nearly 200 points earlier. Major industries that were deep in the red, like energy and financials, were able to recover almost all the ground they lost. In the red most of the day, energy stocks ended up nearly 4 percent.
The gains can be largely attributed to a decline in the value of dollar against the major other currencies. The U.S. dollar index, which tracks the dollar against other major currencies, fell 1.7 percent, a large move for the foreign exchange market. Nearly all that decline happened in the last two hours of trading.
Many U.S. companies have been complaining that the appreciation of the dollar was eroding their earnings by making U.S. exports less profitable.
A weaker dollar also tends to send commodity prices higher. That was a relief to investors as well since a plunge in the price of crude oil has been decimating profits at energy companies.
"An unusually weak U.S. dollar provided a key impetus to today's rally," Jim Ritterbusch, an oil analyst with Ritterbusch and Associates, wrote in a note to investors.
The price of U.S. crude oil jumped $2.40, or 8 percent, to close at $32.28 a barrel, which helped lift up energy stocks.
Despite the gains on Wednesday, investors remain skeptical of this market. They are still putting money into traditional safe-havens: stocks that pay high dividends, U.S. government bonds, and precious metals.
The Dow Jones utility index, a basket of 15 utility companies, rose 1.3 percent. That index is up more than 8 percent this year. Utilities and other companies that pay large dividends are popular at times of uncertainty because they provide a regular return and are large, mature businesses that tend to stand up well during economic downturns.
Some traders are taking that a step further.
"I've been telling clients to be in all cash," said Ian Winer, co-head of equities trading at Wedbush Securities. "There's too much credit risk out there, S&P 500 earnings could be down this year and it seems an increasing possibility that the U.S. could be in a recession in 2017."
In other company news, Yahoo slumped $1.38, or 4.7 percent, to $27.68 after the company announced late Tuesday it would cut 1,700 jobs and sell some of the company's struggling businesses.
Chipotle fell $13.90, or 3 percent, to $461.74 after the company said the E. coli outbreak at its stores hurt sales more than anticipated. Chipotle also disclosed it was now under investigation by Federal regulators over the outbreak.
In individual currencies, the euro rose against the dollar to $1.1101, the dollar fell against the Japanese yen to 117.85 yen, and the dollar fell against the British pound to $1.4598.
In other energy commodities, heating oil jumped 6.8 cents to $1.0786 a gallon, wholesale gasoline rose 1.3 cents to $1.014 a gallon, and natural gas rose 1.3 cents to $2.038 per thousand cubic feet.
In metals, gold rose $14.00, or 1.2 percent, to $1,141.30 an ounce, silver jumped 45 cents, or 3 percent, to $14.73 an ounce and copper rose four cents, or 2 percent, to $2.095 a pound.