The US stock market edged higher overnight despite continued focus from investors on the likelihood of a US-led attack on Syria.
The Dow Jones industrial average rose 68 points, or 0.5 percent, to 14,844 in early afternoon trading. The Standard & Poor's 500 index gained nine points, or 0.5 percent, to 1,639. The Nasdaq composite rose 26 points, or 0.7 percent, to 3,605.
The escalating tensions between the US and Syria hit the stock market hard on Tuesday, sending the Dow down 170 points. Traders pushed gold to a three-month high and crude oil rose to its highest level in a year and a half.
The quick rise in the price of oil has worried investors. Costlier oil almost always translates into higher fuel expenses for businesses and consumers, weighing on consumer spending and the economy. While Syria produces little oil, a regional conflict in the Middle East could lead to supply disruptions in an area where half the world's proven oil reserves lie.
"When you add it all up - the problems in Libya, Egypt, Syria - you're looking at 3 million barrels a day in potential production outages," said Nick Koutsoftas, a commodities-focused portfolio manager at Cohen & Steers.
Oil rose $US1.03, or 0.9 percent, to $110.03 a barrel. It went as high as $112 a barrel overnight.
Energy companies were among the biggest gainers in the S&P 500. Shares of oil producer EOG Resources rose $4.39, or 3 percent, $160.66. Dow component Chevron climbed $3.04, or 2.6 percent, to $121.80.
While the selling in stocks appears to have abated for now, the overall trend for the market has been down over the last couple of weeks. The S&P 500 has lost 4.6 percent since reaching an all-time high on August 2, while the Dow is down 5.6 percent.
Fund managers said investors will have little reason to enter the market until next week's employment report or until the Federal Reserve holds its mid-September policy meeting.
"You may be watching stock prices, but you're not placing any orders in this market," said Chris Hyzy, chief investment officer at US Trust.
Before Syria grabbed the headlines, the focus had been on the Federal Reserve and whether the central bank was going to pull back on its massive bond-buying program, which has kept interest rates extremely low.
If oil prices remain at these elevated levels, the Fed may have to delay easing back on its bond purchases, said Quincy Krosby, market strategist with Prudential Financial.
"The Fed would see higher oil prices, particularly if they linger at these higher levels, as a definite hindrance to employment and consumer spending," Krosby said.
Hyzy said oil would have to rise above $125 a barrel before it has a noticeable impact on consumer spending. Cohen & Steers' Koutsoftas said he believes the US consumer has gotten used to higher fuel costs, and oil would have to go to $150 a barrel before it might impact consumer behavior.
The Syria standoff comes during what is typically a quiet week for stocks. There is little economic data being released and only a handful of corporate earnings. It's also the week before Labor Day, when many on Wall Street are on vacation. Volume on the New York Stock Exchange on Monday was the lowest of any full day of trading this year.
The next big day for the market will come next week, when investors get the August jobs report on September 6, Hyzy and Krosby said.