Stocks capped a winning month with a 1-percent rally Friday as traders squeezed in a few last-minute trades to close out the month of May.
After a late rally, stocks finished at or near their highs for the day: The Dow Jones Industrial Average gained 96.53, or 1.2 percent, to close at 8,500.33. The S&P 500 rose 1.4 percent and the Nasdaq advanced 1.3 percent.
Stocks struggled to hold gains throughout the day as investors were encouraged by a jump in consumer sentiment and less-bad GDP report. Oil stocks benefited from the rise in oil prices. Dell ended higher after beating its earnings target. GM ended at 75 cents a share.
The holiday-shortened week was dominated by worries about General Motors teetering on the brink of bankruptcy and the amount of growing government debt amid a slew of Treasury auctions this week.
>> Want to Make Money on Stocks? Ask a Fifth Grader!
Still, stocks rose sharply for the week—and the month.
The Dow rose 2.7 percent for the week, and 4.1 percent for the month of May.
The Dow has gained more than 20 percent in the past three months — it's biggest three-month gain since late 1998.
The S&P added 3.6 percent for the week and 5.3 percent for the month.
The Nasdaq gained 4.9 percent for the week and 3.3 percent for the month.
For this S&P, this was its biggest three-month gain since 1933 and for the Nasdaq, it's the biggest three-month gain since late 2001.
Aside from gains in the major indexes, it was encouraging to see the CBOE volatility index , widely viewed as the best gauge of fear in the market, fell 21 percent this month, ending at 28.96.
Ten out of 10 key S&P sectors finished higher for the week, led by financials, which gained 5.5 percent for the week, led by CIT Group , which jumped 22 percent. Staples were at the bottom of the totem pole, up just 1 percent. Among the sector's worst performers was coffee-cake maker Sara Lee , which dropped 5 percent.
Most bank stocks continued to rise Friday, including Citigroup, JPMorgan and Wells Fargo. But Bank of America slipped.
A group of banks and money managers plan to release a letter to the Federal Reserve Bank of New York to help fend off some rules proposed by the Obama administrationthat seek to control trading in the derivatives market, the Wall Street Journal reported.
General Motors shares fell below the symbolic $1 level Friday, ending at 75 cents, as the June 1 deadline looms and bankruptcy seems imminent. A senior administration official said a GM bankruptcy would likely take at least 60 to 90 days — perhaps longer — to complete.
Not surprisingly, GM is the Dow's worst performer year-to-date, down over 76 percent, which has prompted speculation about which stock may replace GM in the Dow.
Auto-parts maker Delphi may soon emerge from Chapter 11 bankruptcy protection, the New York Times reported. This comes a day after Ford's largest supplier, Visteon, filed for Chapter 11 bankruptcy protection for its U.S. operations.
Ford shares gained 3.4 percent to close at $5.75.
Dell gained 0.8 percent Friday after the computer maker reported its earnings tumbled 63 percent but narrowly beat analysts' expectations, helped by cost-cutting measures.