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%||4.15%|
|15 yr fixed||3.03%||3.12%|
|30 yr refi||4.01%||4.20%|
|15 yr refi||3.09%||3.17%|
Today's featured rates:
Better-than-expected iPhone sales and record Mac sales lifted Apple in its fiscal fourth quarter. More
China's economy has clocked its worst quarter in more than five years, raising concerns over Beijing's ability to meet its own annual growth target. More
In three years, all Chicago high school students will have to take a coding course in order to graduate. More
Detroit has 80,000 dilapidated properties and 100,000 empty lots. It's trying to get more people like Antjuan Wyatt to buy them. More