(Bloomberg) -- US stocks advanced, notching gains ahead of a long holiday weekend fueled by hopes for resolution of hostilities in the Middle East and relentless enthusiasm for artificial intelligence-linked trades.

The S&P 500 rose 0.4% to cap an eighth straight week of gains, its longest winning streak since 2023. The Nasdaq 100 added 0.2%, as traders continued piling into AI beneficiaries and broader technology themes. The Cboe Volatility Index, or VIX, hovered near its lowest level since early February, a sign of market calm despite uncertainty around the Iran conflict.

Equity investors have largely shrugged off concerns that disruptions to energy flows could reignite inflation pressures. Instead, they have focused on signs of economic resilience and the growing breadth of AI-related spending across corporate America.

The AI trade “remains in favor, with investors focusing on growth in lieu of worrying about inflation pressures, said Daniel Kirsch, head of options at Piper Sandler. “There is also a belief that semi companies are able to push price as demand for AI grows,” he said, adding that in this market, investors are wary of not being long enough if or when the war ends.

A basket of stocks tied to Anthropic’s ecosystem has surged more that 50% since the start of March, while the equal-weighted S&P 500 has been little changed. On Friday, shares of technology hardware and server companies extended recent momentum as investors continue to see strong AI tailwinds for the sector.

On the economic front, the University of Michigan’s US consumer sentiment fell in May to a record low and long-term inflation expectations worsened notably due to the Iran war. Meanwhile, Federal Reserve Governor Christopher Waller said the central bank’s next interest-rate move is just as likely to be an increase as a cut. Traders are now fully pricing in a hike by December. 

In corporate news, Uber Technologies Inc. is exploring options for a full takeover of Delivery Hero SE, people familiar with the matter said, a move that would help it better compete with DoorDash Inc. outside the US. IMAX Corp. shares soared after the Wall Street Journal reported the large-screen theater company is exploring a sale and has approached entertainment companies as potential buyers. US-listed Chinese shares slipped after Beijing announced plans to penalize three cross-border brokerages.

Among individual movers, Workday Inc. jumped after posting first-quarter results that beat expectations. Alcoa Corp. shares rose after UBS raised its recommendation on the aluminum producer to buy from neutral on aluminum prices caused by the war. 

Consumer-focused gainers include Cava Group Inc., which gained trading after Argus Research Corp. raised its recommendation on the restaurant chain to buy from hold on restaurant growth. And Sweetgreen Inc. shares jumped after JPMorgan raised its recommendation on the restaurant chain to overweight from neutral on new products and an improving balance sheet.

Ford Motor Co shares also gained, extending a four-day rally. The stock is benefiting from the hype around AI after the company made a pivot toward energy storage earlier in May. 

--With assistance from Neil Campling.

More stories like this are available on bloomberg.com

©2026 Bloomberg L.P.