Stocks finished with moderate gains on Tuesday, climbing back from mid day lows that followed crude oil dropping under $30 per barrel for the first time since December 2003 and dragging shares of energy companies to another steep decline.