"The oil market has gone from nearing storage saturation to being in deficit much earlier than we expected," said Goldman, which added that supply likely shifted into a deficit in May, Reuters reported.
It helped the mood.
"Earnings are over more or less and the market is searching to see what the second half of the year will look like," Craig Sterling, head of US equity research at Pioneer Investments in Boston, told Bloomberg. "The price of oil and other commodities seem to be catching a bid so there's hope there will be improvement in the industrial side of the economy."
Meanwhile, shares of Pfizer rose, trading 0.5 percent higher as of 2.50pm in New York, after the company said it agreed to buy Anacor Pharmaceuticals in a deal worth about US$5.2 billion. Shares of Anacor soared 55.7 percent.
"We believe the acquisition of Anacor represents an attractive opportunity to address a significant unmet medical need for a large patient population with mild-to-moderate atopic dermatitis, which currently has few safe topical treatments available," Albert Bourla, group president of Pfizer's Global Innovative Pharma and Global Vaccines, Oncology and Consumer Healthcare Businesses, said in a statement.
"Anacor will be a strong fit with Pfizer's innovative business, further supporting our strategic focus on Inflammation and Immunology, and is expected to enhance near-term revenue growth for the innovative business," he said.
Europe's Stoxx 600 Index finished the day with a gain of less than 0.1 percent from previous close. The UK's FTSE 100 index added 0.2 percent. France's CAC 40 index slipped 0.2 percent. German financial markets were closed for a holiday.