Stocks ended higher Wednesday, with financial stocks rebounding from a slide in the prior session, as investors cheered an apparent deal on the economic stimulus package in Congress and reassessed the government's plan to rescue the financial system. The Dow Jones Industrial Average gained 50 points, or 0.6%, to end at 7,939. The blue-chip average received a boost from its financial components, with Citigroup up 10%, Bank of America up 9%, and JP Morgan Chase up 6%. Financials slumped Tuesday, with the sector sliding 12%. The S&P 500 index gained 6 points to 833, while the Nasdaq Composite rose 5 points, or 0.4%, to 1,530.