Oil prices rose to a nine-month high and energy shares helped push the US stock market to a new record, after an agreement between Opec and Russia eased fears of oversupply.

Brent crude, the international benchmark, rose 0.6 per cent to $49.03 a barrel, having hit a high of $49.87 earlier in the day. US marker West Texas Intermediate climbed 0.85 per cent to $46.03.

On Thursday evening, Russia and Opec agreed to boost oil supply by 500,000 barrels a day from January, a figure that was a quarter of what they had planned previously.

The oil price was being supported by the supply agreement and a weaker US dollar, said Monica Defend, head of research at fund manager Amundi.

“Developed markets remain in the grip of the second wave of the pandemic, and this is reflected in poor demand for travel,” she said. “We do not expect to see oil at $55 until the second half of next year, on the basis that [coronavirus] vaccines can be widely distributed and aeroplanes are back in the sky.”

A weaker dollar boosts crude prices because it makes it cheaper for holders of other currencies to purchase the commodity. But expectations of an oil price recovery after the pandemic vary widely, with Opec bullish on consumption while forecasts from oil producers and airlines suggest a peak in demand is close.

The dollar index, which measures the greenback against trading partners’ currencies, was unchanged at the end of trading hours on Wall Street, hovering around a two-and-a-half-year low.

On Wall Street, the S&P 500 index closed the session up 0.9 per cent at an all-time high, led by energy shares including ConocoPhillips and Occidental Petroleum. The technology-focused Nasdaq Composite rose 0.7 per cent, also to a record close.

The yield on 10-year US Treasuries, which has climbed quickly in recent weeks as the positive mood on markets prompted investors to sell off the haven asset, rose 0.05 percentage points to 0.97 per cent, equalling November’s intraday high. A month ago, the yield was below 0.8 per cent.

Also on Friday, one portion of the yield curve, which tracks the difference between 2-year and 10-year Treasury yields, widened to its largest gap since 2017, at 0.82 percentage points.

Data from Bureau of Labor Statistics showed the US added 245,000 jobs in November, far below the 469,000 expected by economists polled by Reuters.

The weaker than expected payroll number would usually jolt markets, said Emiel van den Heiligenberg, head of asset allocation at Legal & General Investment Management, except investors were looking beyond the current economic data.

“People are already very, very optimistic and when there is weakness, the market will look through that because they are thinking about the vaccine and economic normalisation,” he said.

Lifting market sentiment were also signs of progress in talks between US lawmakers about a second stimulus package for the world’s largest economy. On Friday, Nancy Pelosi, the Speaker of the House, said there was “momentum” towards a deal.

In Europe, London’s FTSE 100 index, which has heavy weightings of oil producers, miners and commodities traders, closed 0.9 per cent higher. The region-wide Stoxx Europe 600 benchmark added 0.6 per cent while Germany’s Xetra Dax gained 0.4 per cent.