U.S. equity markets reached record highs last week as technology stocks surged despite volatility from the war in Iran [1, 2].

This rally indicates a significant shift in investor sentiment. While geopolitical instability typically triggers a flight to safety, the current market is prioritizing the growth potential of artificial intelligence over the immediate risks of an energy crisis.

The Nasdaq Composite recently recorded its longest winning streak since 1992 [2]. This growth comes after months of share-market volatility caused by the conflict in Iran [3]. Despite these fluctuations, major technology companies have seen a surge in earnings driven by artificial intelligence [3].

Investors appear to be discounting the impact of the oil-price shock. Market participants have signaled a belief that the energy price spike is transitory and that the conflict in Iran will conclude soon [1, 3]. This optimism has allowed U.S. investors to push stocks back toward record peaks even as global energy markets remain unstable [1].

The resilience of the tech sector has acted as a buffer against the broader economic uncertainty. By focusing on AI-driven revenue, investors are betting that technological productivity will outweigh the inflationary pressures caused by rising oil costs [3].

US equity markets reached record highs last week as technology stocks surged.

The divergence between geopolitical instability and stock market performance suggests that AI has become a primary driver of U.S. market valuation, decoupling equities from traditional macroeconomic risks like oil price volatility. If the conflict in Iran persists or oil prices remain elevated, the market's reliance on tech earnings may face a correction, but for now, the 'AI trade' is overriding the 'war trade.'