Stocks: Worst week since November the chart for more market data. By Ken Sweet, contributing writer

NEW YORK(CNNMoney) -- U.S. stocks closed solidly higher on Friday, but fears about Libya and the oil markets translated into the worst week for stocks since November.

The Dow Jones industrial average (INDU) rose 62 points, or 0.5%, to 12,130; the S&P 500 (SPX) rose 13.8 points, or 1.1%, to 1,320; and Nasdaq Composite (COMP) gained 43 points, or 1.5%, to 2,781.05.

The Dow was led higher by shares of Boeing (BA, Fortune 500), which rose 2.2% after the aerospace giant won a $35 billion tanker contract from the Air Force. Shares of Intel (INTC, Fortune 500) also led the blue chips higher, closing up up 2.7%.

Today's gains come after the Dow posted losses for three consecutive sessions following the increased violence in Libya and rapidly rising oil prices. The S&P 500 is down 1.7% this week, the Dow Jones fell 2.1% and the Nasdaq lost 1.9%. It was the worst week for stocks since the week of Nov 12.

Part of today's market gain was related to the price of oil, investors said. Crude swung between modest gains and losses on Friday, trading at around $98 a barrel in late-morning trading. While still hovering near $100 a barrel, crude is now about $5 below the high it hit earlier this week.

Marc Pado, chief market strategist for Cantor Fitzgerald, said he believes the oil market has calmed from its "panic mode" earlier this week. Even if oil does continue to rise above $100, Mado said he isn't as worried as he was three years ago during the commodities bubble of 2008.

"I don't think $100-a-barrel oil prices are as a big of a concern for the market as they were [then] because we have the economic growth to absorb some of these higher prices," Pado said.

But Paul Zemsky, head of asset allocation with ING Investment Management, said he doesn't expect today's stock gains to hold going into next week if Libya remains in turmoil.

"I see this as a short-term bounce, if violence in oil producing countries continues, it's going to easily bring more fear into the stock and oil markets," Zemsky said.

On Thursday, stocks rebounded from afternoon lows to finish with small losses, as oil prices retreated from two-year highs above $100 a barrel.

Economy: The U.S. Bureau of Economic Analysis reported real gross domestic product increased at an annual rate of 2.8% in the fourth quarter. This is a revision from a preliminary report.

The GDP revision was much less than the 3.3% increase economists forecasted, according to a consensus survey by

A final read on February's University of Michigan consumer sentiment survey also is on the docket. The index is expected to remain unchanged at 75.1.

Companies: Autodesk (ADSK) shares jumped 6% after the company reported a 23% rise in earnings after Thursday's closing bell.

Shares of (CRM) rose 3.4% on Friday after the company reported a 29% jump in fourth-quarter sales.

World markets: European stocks closed broadly higher on Friday. Britain's FTSE 100 added 1.4%, the DAX in Germany ticked up 0.8% and France's CAC 40 gained 1.5%.

Asian markets ended the session mostly higher. The Shanghai Composite was flat, while the Hang Seng in Hong Kong rose 1.8% and Japan's Nikkei added 0.7%.

Currencies and commodities: The dollar gained strength against the euro and the British pound, but slipped against the Japanese yen.

Oil for April delivery closed up rose 91 cents, or 0.94%, to $98.19 a barrel.

Motorists are feeling the spike. The nationwide average price for gasoline rose nearly 6 cents overnight, according to AAA. This means that prices have jumped nearly 12 cents this week.

Gold futures for April delivery dipped $6.50, or about 0.5%, to $1,408.30 an ounce.

Bonds: The price on the benchmark 10-year U.S. Treasury edged higher, with the yield hitting 3.43%.  To top of page

Frontline troops push for solar energy
The U.S. Marines are testing renewable energy technologies like solar to reduce costs and casualties associated with fossil fuels. Play
25 Best Places to find rich singles
Looking for Mr. or Ms. Moneybags? Hunt down the perfect mate in these wealthy cities, which are brimming with unattached professionals. More
Fun festivals: Twins to mustard to pirates!
You'll see double in Twinsburg, Ohio, and Ketchup lovers should beware in Middleton, WI. Here's some of the best and strangest town festivals. Play
Overnight Avg Rate Latest Change Last Week
30 yr fixed4.06%4.28%
15 yr fixed3.17%3.24%
5/1 ARM3.52%3.41%
30 yr refi4.04%4.19%
15 yr refi3.15%3.18%
Rate data provided
View rates in your area
Find personalized rates:
Index Last Change % Change
Dow 17,070.39 -9.18 -0.05%
Nasdaq 4,573.56 15.86 0.35%
S&P 500 2,000.47 3.73 0.19%
Treasuries 2.33 -0.00 -0.13%
Data as of 2:27pm ET
Company Price Change % Change
Bank of America Corp... 16.07 0.06 0.37%
Apple Inc 102.55 0.30 0.29%
Intel Corp 34.90 0.25 0.72%
Facebook Inc 74.76 0.91 1.23%
General Electric Co 25.93 -0.08 -0.31%
Data as of 2:12pm ET


Tesla shares hit a new all-time high Friday after the company announced plans to build 400 charging points in China. More

Gas prices are falling to nearly $3 a gallon in some parts of South Carolina, and that will soon be common in much of the country. More

Netflix told the FCC that its speed on the Comcast network became so slow that customers began dropping their service. More

Whether you've got wanderlust or an airline grievance, here are some apps to pack onto your phone. More

Five CNNMoney readers share stories about saving that you can learn from: What they would do differently if they had another chance. More

Market indexes are shown in real time, except for the DJIA, which is delayed by two minutes. All times are ET. Disclaimer Morningstar: © 2014 Morningstar, Inc. All Rights Reserved. Disclaimer The Dow Jones IndexesSM are proprietary to and distributed by Dow Jones & Company, Inc. and have been licensed for use. All content of the Dow Jones IndexesSM © 2014 is proprietary to Dow Jones & Company, Inc. Chicago Mercantile Association. The market data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved. FactSet Research Systems Inc. 2014. All rights reserved. Most stock quote data provided by BATS.