Oil prices gained slightly on Wednesday as investors covered short positions after a rise in U.S. crude inventories was not as massive as many had feared, while gasoline futures jumped nearly 4 percent after a surprise decline in inventories of the fuel.
U.S. crude stocks rose by 13.8 million barrels in the week to Feb. 3 as refineries cut output, while gasoline stocks decreased, the Energy Information Administration said. The surge in crude stocks did not shock the market, since preliminary data from the American Petroleum Institute (API) late on Tuesday showed an even bigger increase.
"A lot of the downside was already priced in," said Rob Haworth, senior investment strategist at U.S. Bank Wealth Management.
"In the near term, this is going to become a technical game of price levels and where speculators are going to capitulate. If we start to get through the lows of January, that could force some speculators to retrench their position."
Hedge funds and other speculators raised their net long U.S. crude futures and options positions in the week to Jan. 31 to the highest level on record, data from the U.S. Commodity Futures Trading Commission showed on Friday.
"The crude oil inventory build was really terrible for the market but the market does not seem to care because the products inventories were better than expected and are dragging crude oil prices up with it," said Andrew Lipow, president of Lipow Oil Associates in Houston.
Gasoline futures jumped 3.9 percent to a session high of $1.5450 a gallon after EIA data showed the surprise decline in inventories after five straight weeks of increases.
The U.S. gasoline crack spread,
Still, analysts said the gasoline market remained oversupplied.
"Prompt (U.S. East Coast) gasoline cracks continue to sell off and the contango in U.S. gasoline futures is deepening, reflecting the likelihood that the overhang will be carried into the summer months," Energy Aspects said in a note.
Brent crude futures were trading at $55.20 per barrel by 1:54 p.m. EST (1854 GMT), up 15 cents or 0.3 percent from their previous close.
U.S. West Texas Intermediate (WTI) crude was at $52.34 a barrel, up 17 cents or 0.3 percent.
Analysts said prices could be volatile as higher U.S. crude supplies offset output cuts by the Organization of the Petroleum Exporting Countries (OPEC) and other producing nations.
Rising U.S. output is not worrying OPEC for the time being, Qatari Energy Minister Mohammed al-Sada told Reuters, saying "the demand is healthy."
Oil prices came under pressure early as Reuters calculations based on official data showed China's 2016 oil demand grew at its slowest pace in at least three years.