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.85%||3.94%|
|15 yr fixed||3.03%||3.04%|
|30 yr refi||3.93%||3.99%|
|15 yr refi||3.12%||3.13%|
Today's featured rates:
Guinness owner says inclusion of an LGBT group in this year's parade is reason to resume its sponsorship, though some gay rights groups are still protesting the parade's policies. More
House of Cards' season 3 starts with Frank Underwood trying to pass a bogus economic policy More
The Stratos Card is a new Bluetooth-connected device that wants to make all of your credit cards, debit cards, loyalty cards, and gift cards obsolete. More
Self-described 'Last of the Mohicans' is still fixing typewriters after 55 years. More
Last week, the House of Representatives passed a bill that would expand benefits offered by the college savings plans to include coverage of expenses like computers and Internet access, among other things. And there is bipartisan support for it in the Senate, too. More