By Caroline Valetkevitch
NEW YORK (Reuters) - The S&P 500 ended nearly flat on Tuesday as concerns about global weakness and political turmoil were offset by gains in technology and energy shares.
The index managed to erase a 1.3 percent decline from earlier in the day, moving more than 26 points to its high of the day from its low.
Energy and technology shares boosted the market and the Nasdaq ended the day higher. Apple
Advancing issues outnumbered declining ones on the New York Stock Exchange by a ratio of 1.53 to 1. Still, the number of NYSE stocks making new 52-week lows was 255, compared with just 117 making new highs.
"The market in general is digesting a very big move since its October 15 low," said Adam Sarhan, chief executive of Sarhan Capital in New York. "Less than two moths ago we were flat for the year, so investors are hypersensitive to potential downdrafts in the market at this stage in the game."
Greece unnerved investors after the government brought a presidential vote forward in a political gamble that raised uncertainty over the country's transition out of its bailout.
Brent crude
The S&P energy index <.SPNY> ended up 0.9 percent after losing 3.9 percent on Monday.
The Dow Jones industrial average <.DJI> fell 51.28 points, or 0.29 percent, to 17,801.2, the S&P 500 <.SPX> lost 0.49 points, or 0.02 percent, to 2,059.82 and the Nasdaq Composite <.IXIC> added 25.77 points, or 0.54 percent, to 4,766.47.
Adding to the cautious tone was uncertainty over whether the U.S. Federal Reserve will change its pledge to keep rates near zero for a "considerable time" when policymakers meet next week.
U.S. telecom stocks led losses on the S&P 500 and Dow on concerns about an industry price war. Verizon Communications
The S&P telecom index <.SPLRCL> lost 3.2 percent while Verizon shares fell 4 percent to $46.92.
About 7.3 billion shares changed hands on U.S. exchanges, above the 6.5 billion average this month, according to BATS Global Markets.
The S&P 500 is up 10.6 percent from its Oct. 15 close and is up 11.4 percent for the year so far.
U.S.-listed shares of Seadrill
(Editing by Nick Zieminski)