People vote at a polling station on Election Day during the midterm elections in Atlanta

New York (AFP) - Wall Street stocks finished mostly higher as oil prices continued to pull back while markets awaited results from US midterm elections that could reshape President Donald Trump’s final two years in office.

Crude prices, which fell sharply on Monday on revived talk of US-Iran peace prospects, fell modestly hours after Trump insisted that a deal with Tehran “could happen,” with traders also citing unconfirmed Middle East media reports saying progress on Iran’s nuclear program and frozen funds had been made.

The prospect of easing energy costs helped Wall Street steady after several sessions of losses, in particular on the tech-heavy Nasdaq, which enjoyed a positive session after three straight declines.

“Stocks are recovering from yesterday’s bearish afternoon reversal even as the odds of a blue sweep have risen throughout the past few hours,” said a note from Jose Torres of Interactive Brokers.

“The fact that equities are advancing in light of the Democrats being likely to win majority control across both chambers of Congress signals that a near-term bottom could be behind us, since an overall flip was the most feared outcome.”

Americans vote Tuesday with Democrats hoping to seize control of Congress and impose the first significant checks on Trump’s tumultuous second term in the White House.

The election amounts to a nationwide judgment on his policies, with the mood turning sharply against Republicans amid anger over soaring living costs and the war against Iran.

Earnings reports from titans including Amazon, Alphabet, Meta and Microsoft have shown they plan to keep pouring hundreds of billions of dollars into data centers and chips even as investors grow impatient for returns.

Monday saw Apple post forecast-topping sales and profits but it warned that increasing memory chip costs would hit its profit margins in the coming months.

Shares in Apple shed 1.9 percent.

But shares in AI chipmakers Nvidia and AMD both climbed, along with AI data center operator CoreWeave.

But earlier, Asian tech giants came under renewed pressure, with shares in South Korea’s SK hynix and Samsung tumbling, dragging Seoul’s Kospi index down more than three percent.

There were also losses in Shanghai, though Hong Kong edged up. Tokyo was closed for a holiday.

In Europe most stock indices ended little changed, with London’s FTSE falling under the weight of its oil and gas firms like BP and Shell.

“A sharp decline in crude oil prices – triggered by remarks from US President Donald Trump regarding potential adjustments to overseas financial support – put heavy pressure on index energy heavyweights,” said Patrick Munnelly at Tickmill.

- Key figures at around 2020 GMT -

Brent North Sea crude: DOWN 1.2 percent at $103.60 per barrel

West Texas Intermediate: DOWN 0.4 percent at $96.09 per barrel

New York - Dow: DOWN 0.4 percent at 51,786.72 (close)

New York - S&P 500: UP 0.4 percent at 7,568.92 (close)

New York - Nasdaq: UP 0.8 percent at 25,372.01 (close)

London - FTSE 100: DOWN 1.1 percent at 10,638.43 (close)

Paris - CAC 40: DOWN 0.3 percent at 8,020.31 (close)

Frankfurt - DAX: DOWN 0.5 percent at 25,864.62 (close)

Hong Kong - Hang Seng Index: UP 0.6 percent at 23,525.97 (close)

Shanghai - Composite: DOWN 0.8 percent at 3,608.10 (close)

Seoul - Kospi: DOWN 3.6 percent at 5,648.79 (close)

Tokyo - Nikkei 225: Closed for a holiday

Euro/dollar: UP at $1.1191 from $1.1187 on Monday

Pound/dollar: UP at $1.3413 from $1.3406

Dollar/yen: UP at 158.75 yen from 157.94 yen

Euro/pound: DOWN at 83.43 pence from 83.44 pence