Thursday was the day the Dow Jones industrial clawed its way back into positive territory after six losing days in a row.
The Dow had been on its longest losing streak since August before gaining almost 20 points on Thursday. Stocks got a boost from a drop in new unemployment applications, as well as Spain's move to take over a debt-laden bank. Investors took that as a sign that Spain was working aggressively to avoid needing a bailout.
The Dow Jones industrial average rose 19.98 points, or 0.2 percent, to close at 12,855.04.
The Standard & Poor's 500 index rose 3.41 points, or 0.3 percent, to 1,357.99.
The Nasdaq composite fell 1.07 points, or 0.04 percent, to 2,933.64.
For the week:
The Dow is down 183.23 points, or 1.4 percent.
The S&P 500 is down 11.11 points, or 0.8 percent.
The Nasdaq is down 22.70 points, or 0.8 percent.
For the year so far:
The Dow is up 637.48 points, or 5.2 percent.
The S&P 500 is up 100.39 points, or 8 percent.
The Nasdaq is up 328.49 points, or 12.6 percent.