By Riva Gold

Global stocks were on track to end a strong month with gains on Wednesday as oil prices surged on hopes major producers would reach a deal to cut production.

The Stoxx Europe 600 gained 0.4%, led by the energy sector, while futures pointed to a 0.3% opening gain for the S&P 500.

Investors were focused on a meeting of the Organization of the Petroleum Exporting Countries as Brent crude oil rocketed 7.5% to $50.87 barrel.

The cartel is close to a deal, according to people familiar with the matter, and has reached a consensus to cut production to 32.5 million barrels a day. It is still trying to resolve an Iraq data dispute.

Oil prices have whipsawed in recent sessions on hopes OPEC would come to an agreement to curb output amid a global glut of supply. Prices rose sharply after Iran's oil minister said he believed the cartel would reach a deal.

The moves helped Europe's oil and gas sector rise 3%, while in U.S. premarket trading, Murphy Oil rose 7% and Marathon Oil rose 6.4%.

U.K. bank shares were also in focus after Royal Bank of Scotland Group, Barclays and Standard Chartered all stumbled in Bank of England stress tests, but the central bank said only RBS needed to act quickly to bolster its capital.

Shares of RBS fell 2.6%, while Standard Chartered and Barclays quickly reversed early losses. The Bank of England said the financial system had held up well since the June referendum, but the outlook for financial stability remained challenging.

In government bond markets, the yield on 10-year German government bonds recovered to trade little changed after falling to as low as 0.194% when European Central Bank President Mario Draghi said officials could decide to change the size of their monthly bond purchases at next week's meeting.

Data Wednesday showed the eurozone's annual rate of inflation rose to its highest level since early 2014, but remained well below the ECB's target.

10-year U.S. Treasury yields rose to 2.368% from 2.305% on Tuesday. While the ECB continues to ease policy, the Federal Reserve is widely expected to raise interest rates at its December meeting and in 2017.

Federal Reserve Gov. Jerome Powell said Tuesday that the case for raising rates had strengthened, with the economy "growing at a healthy pace, with solid payroll job gains, and inflation gradually moving up to 2%."

Those expectations have also lifted the dollar, which was last up 1.1% against the yen and 0.2% against the euro.

Commodity-sensitive currencies jumped against the dollar, however, as oil prices rose, with Russia's ruble up 1.6%.

Earlier, markets in Asia were mixed, as a steep drop in metals prices and mining companies offset a higher close on Wall Street.

Steel and iron-ore prices in China had fallen sharply in Asian trading after exchanges there lowered the daily trading limit and raised margin requirements in an effort to curb speculation. The recent rally in metal prices was largely driven by Chinese investors on hopes that demand would pick up in China and the U.S., analysts said.

Japan's Nikkei Stock Average was flat but ended the month over 5% higher than it started, bolstered by a steady strengthening of the dollar against the yen.

Wall Street was also on track for its best month since March, with the S&P 500 set to gain nearly 4% inNovember. Investors have plowed into U.S. bank shares, health care companies, and small-caps on expectations for reduced regulation and higher growth in the U.S.

"There's still a runway for upside given you still have a lot of positive things going on -- you have home prices increasing, consumer net worth increasing dramatically, low unemployment, and signs of wage growth," said Lowell Yura, portfolio manager at BMO Global Asset Management.

"A strong dollar and strong growth could be very positive for U.S. equities," he said.

European stocks were on track to gain nearly 1% this month, underperforming their developed market peers amid continuing jitters about the political climate.

Recent concerns have centered around Italy. Italy's FTSE MIB Index rose 1% on Wednesday, but remained down nearly 22% this year on concerns about weak growth, fractious banks and Sunday's referendum on constitutional reform.

If there is a"no" vote that is followed by a period of political uncertainty and market turmoil, the Italian banking system could come under further pressure, according to Maria Paola Toschi, an Italy-based market strategist at J.P. Morgan Asset Management.

In the event of a political impasse, efforts to deal with nonperforming loans at troubled lenders could stall, while some banks' efforts to recapitalize could become more challenging if foreign investors lose confidence in Italy, she said.

Still, Italian bonds and equities have already come under significant pressure, and the European Central Bank could cushion the blow, she said, softening the impact of the referendum on markets.

Biman Mukherji, Margot Patrick, Shayndi Raice and Jenny W. Hsu contributed to this article

Write to Riva Gold at riva.gold@wsj.com

(END) Dow Jones Newswires

November 30, 2016 09:08 ET (14:08 GMT)

Copyright (c) 2016 Dow Jones & Company, Inc.