Stocks ended a rough week with slight gains Friday after Libyan government forces declared a cease-fire and a group of the world's seven largest countries announced a plan to bring the yen down from historic highs. Financial stocks rose after JPMorgan and other large banks increased their dividends.
The Dow Jones industrial average gained 83.93 points, or 0.7 percent, to 11,858.52.
The Standard & Poor's 500 index rose 5.49, or 0.43 percent, to 1,279.21.
The Nasdaq composite gained 7.62, or 0.3 percent, to 2,643.67.
For the week:
The Dow is down 185.88, or 1.5 percent.
The S&P is down 25.07, or 1.9 percent.
The Nasdaq is down 71.94, or 2.6 percent.
For the year to date:
The Dow is up 281.01, or 2.4 percent.
The S&P is up 21.57 or 1.7 percent.
The Nasdaq is down 9.20, or 0.3 percent.