NEW YORK (CNNMoney) -- U.S. stocks rose modestly Friday, with trading volume light as traders positioned themselves ahead of the the long holiday weekend.
The Dow Jones industrial average () rose 39 points, or 0.3%, to 12,442; the S&P 500 ( ) added 5.4 points, or 0.4%, to 1,331; and the Nasdaq Composite ( ) climbed 14 points, or 0.5%, to 2,797.
Despite Friday's gains, all three indexes ended the week lower. The Dow fell 0.6%, the S&P 500 fell 0.2%, and the Nasdaq fell 0.2%. Both the Dow and S&P have fallen for four consecutive weeks.
Stocks received some support on Friday from the University of Michigan's May consumer sentiment survey, which rose more than expected. But a disappointing 11.6% drop in April pending home sales "took some of the wind out of the positive consumer sentiment data," said Marc Pado, U.S. market strategist with Cantor Fitzgerald.
Overall, U.S. stocks have struggled this month, as optimism over upbeat corporate earnings has been tempered by signs the economy could be entering a slow period.
All three major indexes are down about 3% for the month, but analysts say the market is still headed higher this year.
Trading was subdued Friday, with volumes well below typical daily averages, as investors were reluctant to place big bets ahead of a long weekend. The stock market will be closed Monday for Memorial Day.
Stocks edged higher Thursday, as momentum in the technology sector offset disappointing reports on economic growth and the labor market.
Economy: Personal income and spending both rose 0.4% in April. Income was in line with Briefing.com estimates, while economists had forecast a 0.5% increase for spending.
Companies: Marvell Technologies ( ) shares jumped 11% after the company issued an upbeat second-quarter profit outlook.
Toyota (), Nissan ( ) and Honda ( ) all reported sharp declines in sales and production during April, as the fallout from the March 11 earthquake and tsunami continue to take a toll on Japan's auto industry. Shares of the three major Japanese automakers edged lower.
Oil for July delivery gained 36 cents to $100.59 a barrel.
Gold futures for June delivery rose $13.50 to $1,536.30 an ounce.
Bonds: The price on the benchmark 10-year U.S. Treasury eased, pushing the yield up to 3.07% from 3.06% late Thursday.
World markets: Fitch Ratings lowered its outlook for Japan's economy to "negative" from "stable," saying the government needs to do more to reduce its long-term debt load. But the agency said Japan's credit rating remains supported by a high savings rate among the nation's population.
Asian markets ended mixed. The Shanghai Composite slid nearly 1%, and Japan's Nikkei dipped 0.4%, while the Hang Seng in Hong Kong rose 0.9%.
|5 people you might not tip (but should)|
|General Mills reverses course on right to sue after backlash|
|Nonprofits that pay top fundraisers $1 million (or more) a year|
|Lara Spencer promoted to 'GMA' co-host|
|Stocks: It's report card time on Wall Street|
|Overnight Avg Rate||Latest||Change||Last Week|
|30 yr fixed||4.36%||4.24%|
|15 yr fixed||3.39%||3.26%|
|30 yr refi||4.34%||4.22%|
|15 yr refi||3.38%||3.24%|
Today's featured rates: