NEW YORK - U.S. stocks jumped Tuesday morning on enthusiasm over a U.S. deal to extend tax cuts, but gave up most of their gains to end near neutral as the Irish parliament prepared to vote on harsh austerity measures.
The euro slumped and the dollar rose, pressuring commodities.
"The market has been led by basic materials and oil, and when the dollar goes down, commodities and other dollar-denominated assets like equities go up. So the market tends to fade when the dollar strengthens," said Art Hogan, chief market strategist at Jefferies & Co.
The major indexes had maintained healthy gains for much of the day as Wall Street embraced President Obama's decision to compromise on tax cuts.
After being up more than 90 points, the Dow Jones industrial average ended down 3.03 points at 11,359.16.
The S&P 500 index climbed 0.63 points, or 0.1 percent, to end at 1,223.75, with industrials pacing gains that included all 10 of the index's industry groups.
The Nasdaq composite rose 3.57 points, or 0.1 percent, to 2,598.49.
Advancers edged just ahead of decliners on the New York Stock Exchange, where volume topped 1.6 billion.