Investors set aside some of their concerns about rising debt levels around the world and looked for bargains after a two-day slide in stocks. Stocks turned higher late Wednesday after trading erratically. Investors have been cautious about rising government debt levels in Spain, Greece and other countries.
The Dow Jones industrial average rose 51.08, or 0.5 percent, to 10,337.05.
The Standard & Poor's 500 index rose 4.01, or 0.4 percent, to 1,095.95.
The Nasdaq composite index rose 10.74, or 0.5 percent, to 2,183.73.
For the week:
The Dow is down 51.85, or 0.5 percent.
The S&P is down 10.03, or 0.9 percent.
The Nasdaq is down 10.62, or 0.5 percent.
For the year:
The Dow is up 1,560.66, or 17.8 percent.
The S&P is up 192.70, or 21.3 percent.
The Nasdaq is up 606.70, or 38.5 percent.