Stocks climbed on Wednesday as crude oil prices neared the psychologically-important $50 level. 

The S&P 500 was up 0.46%, the Dow Jones Industrial Average gained 0.6%, and the Nasdaq increased 0.6%.

U.S. crude stockpiles showed an unexpected decrease in the past week. The Energy Information Administration reported a decline of 3 million barrels of crude, better than a forecast 2.6-million-barrel increase. A separate reading from the American Petroleum Institute showed a drop of 7.6 million barrels in the past week.

West Texas Intermediate crude oil was up 2.4% to $49.84 a barrel on Wednesday morning.

The energy sector was the best performer on markets Wednesday. Major oilers including Exxon Mobil (XOM - Get Report) , Chevron (CVX - Get Report) , Royal Dutch Shell (RDS.A - Get Report)  and PetroChina (PTR - Get Report) moved higher, while the Energy Select Sector SPDR ETF (XLE - Get Report) added 1.9%. 

Services activity increased at a far-faster pace than expected in September, according to the ISM Non-Manufacturing Index. The index increased to 57.1 last month, an 11-month high, up from 51.4 in August and far higher than an expected 52.9 reading. Both new orders and business activity drove gains. 

A separate reading from the Markit U.S. Services PMI also showed activity pick up in September. The measure increased to 52.3 in September, up from 51 a month earlier, as business activity picked up. Service sector activity increased at its fastest pace since April.

Factory orders in August showed an unexpected increase, according to the Census Bureau. Orders increased by 0.2%, higher than a forecast 0.2% dip. The measure was revised lower to 1.4% in July from 1.9%. 

The U.S. economy added 154,000 jobs to private payrolls last month, according to the ADP National Employment Report. The measure came in below consensus of 170,000. The U.S. economy added 177,000 jobs in August.

"The current record of consecutive monthly job gains continued in September," Mark Zandi, chief economist of Moody's Analytics, wrote in a note. "With job openings at all-time highs and layoffs near all-time lows, the job market remains in full-swing. Job growth has moderated in recent months, but only because the economy is finally returning to full-employment."

ADP's report tends to show a larger increase in the number of jobs added to the U.S. economy than the official report, though it is a good broad indicator of the health of the labor market month to month. The official Labor Department report will be released on Friday morning.

The U.S. trade deficit was $40.7 billion in August, wider than an anticipated $39 billion deficit. U.S. imports increased 1.2% in August, an 11-month high, while U.S. exports increased 0.8% to a 13-month high.

Stocks tumbled on Tuesday afternoon as gold prices slumped and reports of potential tapering from the European Central Bank surfaced. Reports emerged that the central bank could begin winding down its quantitative easing program earlier than its targeted March 2017 end date. The central bank currently repurchases €80 billion (nearly $90 billion) a month, a program it could pare by €10 billion at a time. ECB media officer Michael Steen tweeted that ECB members had not discussed reducing the rate of bond purchases.

Gold prices moved slightly higher on Wednesday after hitting their lowest level since the late-June Brexit vote on Tuesday. Spot gold fell 3% on Tuesday, breaching the key support level of $1,300 an ounce and suffering its worst one-day percentage decline since December 2013. Prices had slumped as the U.S. dollar marched to a two-month high.

"The selling pressure had been accumulating over the past several days, or weeks even, as market participants apparently moved back to the racier equity markets and away from perceived safe haven assets," said Fawad Razaqzada, technical analyst at FOREX.com. "Meanwhile the dollar rose on the back of improvement in US data and this weighed further on the buck-denominated metal."

Netflix (NFLX - Get Report) jumped nearly 4% on Wednesday after signing a deal to screen its original movies at iPic Entertainment locations at the same time they launch on the streaming platform. Original content will screen in Los Angeles and New York. Shares climbed earlier in the week on reports Walt Disney (DIS - Get Report) is contemplating an acquisition offer. 

Micron Technology (MU - Get Report)  rose despite swinging to a loss in its fiscal fourth quarter. The chipmaker reported a net loss of 16 cents a share over the quarter compared to profit of 42 cents a share a year earlier. An adjusted loss of 5 cents a share came in better than an expected loss of 12 cents. Revenue declined 10.6%.

Twitter (TWTR - Get Report) remained on watch as rumors continued to swirl that the social network was accepting bids this week. Salesforce.com (CRM - Get Report) is reportedly one of the potential bidders making a case to the company.

Eli Lilly (LLY - Get Report) moved slightly higher after its Elanco division agreed to acquire Boehringer Ingelheim Vetmedica's U.S. rabies vaccine business for $885 million. The purchase strengthens Elanco's companion animal operations. The deal is expected to close early next year.

Constellation Brands (STZ - Get Report) increased 2% after topping sales and profit estimates in its second quarter. The beer and spirits company earned an adjusted $1.77 a share, better than an anticipated $1.65, while revenue climbed 17% to $2.02 billion. Constellation also boosted its full-year profit guidance above forecasts.

Monsanto (MON) moved slightly higher after posting a surprise profit in its fiscal fourth quarter. The agricultural company earned an adjusted 7 cents a share, better than consensus of a loss of 5 cents. Monsanto also expects adjusted full-year earnings of at least $4.50 a share, above estimates of $4.42.