The stock market extended a streak of erratic trading Wednesday, rebounding from early losses and rising moderately after a drop in oil inventories lifted hopes for an economic recovery.
The day, which began with a sharp loss driven by a big drop in China's biggest stock market, followed a trading pattern seen in markets around the world this week. Stocks have alternately advanced and retreated as investors shuttle between worries about the economy's challenges, namely consumer spending and high unemployment, and nascent signs of healing.
While the surprising decline in crude inventories was a reassuring sign, there is still plenty of caution among investors. Although stocks recovered, Treasury prices held on to most of their gains. Government debt is a safe-haven investment in a struggling economy.
News from the Energy Department that the nation's oil inventory fell by more than 8 million barrels in the past week sent oil prices and then stocks higher, as investors bet that the drop in stockpiles is an indication that energy demand is rising and the economy is indeed improving.
The sharp turn in stocks shows just how sensitive investors are to the latest bits of news, hungry for any sign that the economy is indeed healing and that the more than 40 percent surge in stocks since March has been warranted.
Analysts say the financial markets are likely to bounce around in the near term as investors try to reconcile their hopes for an economic recovery with the reality that it might not come as fast or be as strong as many people expected.
"Volatility is creeping up," said Brian Nick, investment strategist at Barclays Wealth. "For a while we were seeing volatility steadily declining and maybe we thought we were completely out of the woods when we were not completely out of the woods."