Analysts said the gains came as markets focused on the benefits of the country's political control remaining split between Democrats and Republicans. With Republicans edging closer to retaining control of the Senate, prospects dimmed for the tax increases and tighter regulations on businesses that investors expected if Democrats scored an electoral sweep, although a big stimulus effort for the economy that some on Wall Street say is needed now seems unlikely as well.
"The first information that people are digesting is that a split government is okay, and we can deal with this," said Melda Mergen, deputy global head of equities at Columbia Threadneedle. "No big changes are expected anytime soon on the policy side."
She cautioned, though, that the initial moves for the market may not last.
"It's a very quick reaction without knowing the final results.
"It's emotional rather than rational."
Much of Wednesday's strength for Wall Street was due to big gains for technology stocks. Investors have increasingly seen these stocks as some of the safer bets in the market, able to grow their profits even in a pandemic as more of daily life shifts online.
They don't need a big stimulus effort for the economy as much as other companies, and the likelihood of Washington approving such a package dropped with the chances of a Democratic sweep. That led to the much better performance for the tech-heavy Nasdaq over other indexes. Microsoft, Amazon, Facebook and Google's parent company all rose at least 5 per cent
Other areas of the stock market, where profits are more dependent on the strength of the economy, lagged behind. Financial stocks in the S&P 500 fell 0.7 per cent. Companies that make construction materials and could have benefited from a big infrastructure plan under a Democratic sweep were falling.
Some of the market's sharpest moves overnight were in yields for US government bonds, which had earlier risen on growing expectations for big economic stimulus.
The 10-year Treasury yield swung from 0.88 per cent late Tuesday up to 0.94 per cent as polls were closing. It then sank as low as 0.75 per cent after Trump made premature claims of victories in several key states, Republicans held onto Senate seats and a couple economic reports came in weaker than expected. It sat at 0.77 per cent in afternoon trading.
All the swings are a bit reminiscent of four years earlier, when Trump surprised the market by winning the White House. Markets initially tumbled after polls and the market's expectations proved to be so wrong in 2016, but they quickly turned around on expectations that Trump's pro-business stance would be good for corporate profits.
The difference this time is that the uncertainty seems set to linger. It may take days for a winner of the White House to emerge, and professional investors say they're bracing for sharp market swings in the meantime. Trump said early Wednesday that he'd take the election to the Supreme Court, though it's unclear exactly what he means by that as states continue to tally all their votes.
A drawn-out court battle "just adds more and more uncertainty, and the last thing the market needs is that", said Quincy Krosby, chief market strategist at Prudential Financial.
In the end, though, many fund managers suggest investors hold steady through the tumult in large part because one person can't singlehandedly move the economy and stocks tend to rise regardless of which party controls the White House. What happens with the coronavirus pandemic will have a much greater effect on markets than this election's results, many fund managers say.
"It's really about the solution to the health crisis and how do we bridge between now and that eventual period of time," said Bill Northey, senior investment director at US Bank Wealth Management.
Uber and Lyft both soared more than 11 per cent after the ride-hailing companies won a vote in California allowing them to continue classifying their drivers as contractors instead of employees and preserve their business models.
In Europe, Germany's DAX recovered from early losses to gain 1.9 per cent. The CAC 40 in Paris rose 2.4 per cent, and the FTSE 100 in London climbed 1.7 per cent.
Besides the election's impact on Trump's enthusiasm for tariffs, European investors are also watching what it will do to the US dollar's value. By making additional stimulus less likely, a divided US government could force the Federal Reserve to do even more on its own to support the economy, which could send the dollar lower against the euro and other currencies.
The Fed will announce its latest decision on interest-rate policy on Thursday. Its moves earlier this year to slash interest rates to record lows and prop up bond markets have helped Wall Street soar since March.
In Asia, Tokyo's Nikkei 225 rose 1.7 per cent, South Korea's Kospi rose 0.6 per cent, Hong Kong's Hang Seng declined 0.2 per cent and stocks in Shanghai added 0.2 per cent.
- Associated Press