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||4.32%||4.27%|
|15 yr fixed||3.29%||3.27%|
|30 yr refi||4.29%||4.24%|
|15 yr refi||3.26%||3.25%|
Today's featured rates:
New annual report from U.S. government shows the long-term prognosis for Medicare has improved thanks to slower health spending, while the outlook for Social Security remains unchanged. More
A new product in development wants to change how we think about sleep, and the company behind it is raising big money. More
Actor-founded This Bar Saves Lives had Hollywood connections, but learned Start-Up 101 the hard way. More
Ali Ewoldt has performed in Broadway musicals and TV shows. Her days consist of auditions, rehearsals, and being on stage in front of hundreds of people at a time. Here are journal entries from a day in her life. More