Over the past two years, the Trump administration’s sweeping policy shifts in the absence of opposition from a Republican-controlled Congress repeatedly buffeted global markets, from tariffs to the Iran war. On Wednesday, as investors digested a historic Democratic sweep in US midterm elections, markets rallied. The reason: a bet that gridlock in Washington will curb some of the worst-case outcomes in areas such as the Iran war, even though there were fresh worries, most notably about the backlash against AI infrastructure buildout that has driven economic growth and corporate profits, investors said. “Gridlock is the market’s friend,” said Mark Hackett, chief market strategist at Nationwide. “Regardless what either side is saying right now, anything that isn’t absolutely necessary is very unlikely to pass in the next two years, which does add to the predictability of the environment for investors.” Markets have been jittery for weeks about how the election would affect the fiscal outlook, the AI regulatory backdrop and the Iran war, which have raised prices and wreaked havoc in bond and stock markets in recent weeks. Now, investors say they are treating the results as a license to add to risk. Global stocks rallied, with all three main Wall Street indexes trading higher. Treasuries rose as well, as investors expect divided government to curb government spending, with AI regulation also possibly slowing growth and reducing the need for rate hikes. The results could also be felt in foreign policy. After the results, US Vice President JD Vance distanced himself from President Donald Trump’s decision to go to war with Iran, questioning its worth and blaming it entirely for the Republican’s electoral rout. “Investors may be starting to price in a de-escalation,” said Shawn Snyder, economic strategist at Potomac Fund Management. Market seasonality is also encouraging. Since 1946, the S&P 500 has returned 19.9% on average in the 12 months following midterm elections, according to a Glenmede analysis. Investors also said the shifting political winds could have positive and negative ramifications for different industries. “Managed-care organizations and hospitals may benefit if there’s bipartisan support for extending ACA subsidies,” said Angelo Kourkafas, senior strategist at Edward Jones, referring to the Affordable Care Act. “Sectors currently counting on significant deregulation or policy tailwinds, including parts of financials, defense and crypto, may face a less favorable backdrop.” Kourkafas warned against aggressive sector bets based on the election outcome, however. Fears that rapid AI sector growth could be hamstrung by regulatory scrutiny weighed on investors going into the election. Opinion polls showed growing voter opposition to data center construction and AI, and investors expect the Democratic-controlled Congress to apply more scrutiny to the sector. However, the immediate market reaction has not proved as troubling as some had feared, investors said. Pressure from Democrats might slow the pace of data center construction at a time when investors were starting to worry about the borrowing costs of the buildout. On Wednesday, shares of deep-pocketed hyperscalers, including Amazon.com, Meta Platforms and Alphabet rose, while shares of data center operators IREN, Applied Digital and Core Scientific fell. Chip stocks also fell, with the PHLX Semiconductor Sector Index sinking 3.6%. “That’s the market saying we’ve been asking for more of a rational trajectory of spending and now we’re more likely to get that,” Nationwide’s Hackett said. Democratic gubernatorial wins in all five states Jefferies tracks for data center exposure could leave AI more politically secure, not less, the firm’s strategists said. They expect the new governors to pursue guardrails rather than outright bans.