By | February 02 2010 3:56 PM

Stocks gained on Tuesday, helped by encouraging earnings, and as a rise in pending home sales helped calm fears of weakness in the housing market.