By Caroline Valetkevitch
(Reuters) - U.S. stocks rebounded in afternoon trading on Wednesday to end little changed as energy shares and Apple rebounded, offseting continued concerns about a slowdown in China.
Investors picked up shares of energy companies, which have been hit hard by the China concerns along with other commodities in recent weeks, as oil prices bounced back. The S&P energy index <.SPNY> rose 1.9 percent, the S&P 500's biggest positive.
Apple
Stocks had been down sharply early in the session after the yuan hit a four-year low, falling for a second day after Chinese authorities devalued the currency. The move has exacerbated worries about the outlook for China's economy and its impact on the rest of the world.
The Dow moved nearly 300 points from its low of the day to its high before closing flat.
More From This Section
The S&P 500 briefly dipped into negative territory for the year during the session, and traded below its 200-day moving average, before bouncing back. The S&P 500 ended above that technical support level and up for the year so far.
"China is a huge wild card both in terms of the rate at which it's slowing but also how the leadership is handling it," said Bucky Hellwig, senior vice president at BB&T Wealth Management in Birmingham, Alabama.
"The reversal today is bullish ... at least in the short term."
Among sectors, financial shares declined the most, with the S&P financial index <.SPSY> down 0.8 percent. China's currency move has created more uncertainty over how soon the Federal Reserve may raise interest rates, analysts said.
The Dow Jones industrial average <.DJI> fell 0.33 points to 17,402.51, the S&P 500 <.SPX> gained 1.98 points, or 0.1 percent, to 2,086.05 and the Nasdaq Composite <.IXIC> added 7.60 points, or 0.15 percent, to 5,044.39.
The CBOE Volatility index <.VIX>, a measure of the premium traders are willing to pay for protection against a drop in the S&P 500, also reversed course. It jumped as much as 18.7 percent to 16.28, its highest in a month, before ending down 0.7 percent.
New York Federal Reserve President William Dudley said the yuan devaluation has huge implications for demand in the rest of the world and commodity prices, but it is too early to judge what is happening with Chinese currency policy.
Alibaba
Macy's
NYSE decliners outnumbered advancers 1,553 to 1,524, for a 1.02-to-1 ratio; on the Nasdaq, 1,564 issues fell and 1,229 advanced for a 1.27-to-1 ratio. The S&P 500 posted 10 new 52-week highs and 19 lows; the Nasdaq recorded 30 new highs and 120 lows. About 8.2 billion shares changed hands on U.S. exchanges, above the 7.0 billion daily average so far this month, according to BATS Global Markets.
(Additional reporting by Tanya Agrawal in Bengaluru; Editing by Meredith Mazzilli and Nick Zieminski)