US average gas prices have topped $4 for the first time since 2022 as the Iran war sends global energy costs spiralling

London (AFP) - Global stocks rallied and oil prices fell Wednesday after US President Donald Trump said the Middle East war that has roiled markets could be over within weeks.

Wall Street’s main indices pushed higher at the openning bell, continuing a rally from the previous day that saw the Nasdaq close up 3.8 percent.

In Europe, Frankfurt jumped more than two percent, while London and Paris both rose 1.8 percent in afternoon trading.

That came after Asian markets closed sharply higher, with Seoul soaring more than eight percent, Tokyo up five percent and Chinese stocks also rising.

Trump said Tuesday the United States would end operations in Iran “very soon”, perhaps within “two weeks, maybe three”.

The White House said he would address the nation on Wednesday “to provide an important update on Iran”.

“The market appears increasingly optimistic that an end to the war in Iran is in the offing as big gains in the US and Asia were matched in Europe,” said AJ Bell investment director Russ Mould.

Oil prices fell, with international benchmark Brent down one percent after falling as much as five percent earlier. The main US contract WTI dropped two percent.

The economic impact of the conflict is worsening, with average US gasoline prices topping $4 a gallon for the first time in four years this week, European inflation spiking and governments unveiling a range of support measures.

Iranian President Masoud Pezeshkian said the Islamic republic had the “necessary will” to end the war, provided its enemies guaranteed it would not flare up again.

But Israeli Prime Minister Benjamin Netanyahu insisted that Israel would press ahead with its military campaign and that “we will continue to crush the terror regime”.

Traders remained wary as fresh strikes hit Tehran on Wednesday, and an oil tanker off the coast of Qatar was hit by an Iranian missile.

Trump said Wednesday that Iran has asked for a ceasefire but that the United States wants the Strait of Hormuz is clear for shipping.

However Iran’s Revolutionary Guards insisted however that the strategic strait will remain closed to the country’s “enemies”.

“Despite today’s relief wave on markets, deep problems remain,” said Susannah Streeter, chief investment strategist at Wealth Club.

She said that elevated crude prices, still about 50 percent above pre-war levels, “signals that scepticism still remains about Trump’s claims of progress, and worries persist about how extraction from the conflict is still set to be complex”.

FOREX.com analyst Fawad Razaqzada noted that the head of the International Energy Agency had signalled some 12 million barrels of per day of oil production has been disrupted, as well as shortages of jet fuel and diesel.

“It’s clear why oil isn’t collapsing despite the market’s attempt to lean into de-escalation,” he said.

“There’s simply too much uncertainty, both in terms of supply disruption and geopolitical escalation, for prices to meaningfully reset lower just yet,” added Razaqzada.

In company news, shares in Chinese artificial intelligence startup Zhipu, which went public in January, soared more than 32 percent after it said revenue from its cloud business almost tripled last year.

- Key figures at around 1330 GMT -

New York - Dow: UP 0.7 percent at 46,660.71 points

New York - S&P 500: UP 0.6 percent at 6,564.92

New York - Nasdaq Composite: UP 0.7 percent at 21,741.47

London - FTSE 100: UP 1.8 percent at 10,360.89

Paris - CAC 40: UP 1.8 percent at 7,957.91

Frankfurt - DAX: UP 2.5 percent at 23,254.81

Tokyo - Nikkei 225: UP 5.2 percent at 53,739.68 (close)

Hong Kong - Hang Seng Index: UP 2.0 percent at 25,294.03 (close)

Shanghai - Composite: UP 1.5 percent at 3,948.55 (close)

Brent North Sea Crude: DOWN 1.0 percent at $100.40 a barrel

West Texas Intermediate: DOWN 2.0 percent at $101.93 a barrel

Euro/dollar: UP at $1.1611 from $1.1551 on Tuesday

Pound/dollar: UP at $1.3307 from $1.3236

Dollar/yen: DOWN at 158.53 from 158.77 yen

Euro/pound: DOWN at 87.26 pence from 87.28 pence