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.40%||3.39%|
|15 yr fixed||2.66%||2.66%|
|30 yr refi||3.42%||3.42%|
|15 yr refi||2.70%||2.69%|
Today's featured rates:
Martin Shkreli, the reviled drug company CEO who faces federal criminal charges, nearly doubled his $3 million investment in KaloBios. More
Donald Trump has said he doesn't want to touch Social Security or other entitlements. And his campaign says he'd "protect" it. But a key economic adviser thinks the candidate 'might do something different' if he's elected 'because you have to do something different.' More
Uber has hired on Jeff Jones, formerly chief marketing officer of Target, to serve as president of the company. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
With a veto from Gov. Chris Christie, the "Fight for $15" was dealt a setback in New Jersey. But legislators may sidestep Christie and put the question directly to voters in 2017 as to whether they would like to increase the state's minimum wage to $15. More