Stocks rally to reverse 2-day slide, surging on rosy earnings results and economic data