U.S. stocks bounced back after early losses on Tuesday after strong results from Home Depot (HD.N).
The world's largest home improvement company climbed 4.3 percent to $63.76 after reporting earnings that beat expectations and raising its outlook. Rival retailer Lowe's Companies (LOW.N) gained 0.5 percent to $32.14.
Global shares fell for a fifth straight day after international lenders clashed over help for Greece and on "fiscal cliff" concerns in Congress.
The Dow Jones industrial average .DJI was up 74.71 points, or 0.58 percent, at 12,889.79. The Standard & Poor's 500 Index .SPX was up 7.49 points, or 0.54 percent, at 1,387.52. The Nasdaq Composite Index .IXIC was up 1.24 points, or 0.04 percent, at 2,905.50.