NEW YORK (CNNMoney) -- U.S. markets fell sharply Friday as oil prices jumped to more than $104 a barrel. Still, stocks managed to eke out gains for the week.
The Dow Jones industrial average (INDU) dropped 88 points, or 0.7%, to 12,170. The Dow had lost as much as 170 points earlier in the session.
All three indexes closed higher for the week, with the Dow rising 0.3%, and the S&P and Nasdaq rising 0.1% each.
Quickly rising energy costs were the dominant force on traders' minds once again Friday. Crude oil prices jumped $2.90 a barrel, or 2.9%, hitting $104.81 on reports of continuing unrest in Libya and news of protests planned in Saudi Arabia. Gas prices continued to rise, adding 4.4 cents to the AAA national average of $3.35 a gallon.
Traders said that as long as oil remains at elevated levels and Middle East unrest remains unresolved, stock performance will continue to closely track the price of oil.
"Oil above $100 a barrel will remain a persistent headwind to the equity markets, but the bigger question is how long does oil remain at these levels," said Michael James, senior equity trader with Wedbush Morgan Securities.
With oil front and center, Wall Street dismissed the Labor Department's report that the economy added 192,000 jobs in February -- which was in line with expectations. The unemployment rate ticked down slightly to 8.9%.
Investors said Thursday's rally was mostly in anticipation of the jobs report. However the mostly positive report was cast aside once oil prices began rapidly rising during the session.
"Thursday's (rally) was in hopes of a return to job growth, and -- you know what -- we got it and that's great," said Jeff Kleintop, chief market strategist for LPL Financial. "But now we're concerned if this job growth is sustainable with these high oil prices."
Economy: The Commerce Department said factory orders rose 3.1% in January, the biggest gain since September 2006. Economists were looking for factory orders to rise 2%.
World markets: European stocks closed lower as oil prices rose. Britain's FTSE 100 lost 0.2%, the DAX in Germany dipped 0.7% and France's CAC 40 fell 1%.
Asian markets ended sharply higher. The Shanghai Composite rallied 1.4%, the Hang Seng in Hong Kong jumped 1.2% and Japan's Nikkei gained 1%.
Gold futures for April delivery rose $12.20 to $1,428.60 an ounce.
Bonds: The price on the benchmark 10-year U.S. Treasury fell, pushing the yield up to 3.55% from 3.52% late Thursday.
|Overnight Avg Rate||Latest||Change||Last Week|
|30 yr fixed||3.93%||3.87%|
|15 yr fixed||2.99%||3.03%|
|30 yr refi||4.03%||3.93%|
|15 yr refi||3.08%||3.07%|
Today's featured rates:
Looks like the Magic Kingdom is lacking some sparkle. Disney's cable channels have lost millions of subscribers in recent years. More
Brazilian police arrested a prominent senator and billionaire CEO for interfering in the investigation of Petrobras, which has pushed Brazil into recession. More
Watsi crowdfunds donations to cover healthcare costs of those in need. And it's seeing a surprising trend: micro-donations via the popular Chinese social networking app, WeChat. More
Some of the coolest toys this year are from small businesses. Here are 10 hot toys that just might be a smash hit this holiday season. More
Facebook just increased the amount of paid time off new dads working at its international offices can take. More