The stock market rose sharply on Wednesday after the 2026 midterm elections, which the source describes as a decisive sweep for Democrats. The source says the rally had more than one driver.

Trump told The New York Times and The Wall Street Journal overnight Tuesday that he accepted the results and would work with Democrats. Those reports coincided with a rebound in stock market futures.

Thomas Hempell, senior economist at Generali Investments, said Trump's acknowledgement of the Democrats' victory and his openness to working with the opposition "have helped markets to rally on hopes that contestation of the results and more adverse polarization can be avoided."

Before the midterms, some on Wall Street worried that Trump might contest the results. The source says a Department of Justice Alaska election lawsuit raised fears of delays in the outcome. A CNBC Fed Survey of 30 fund managers, strategists and economists found that 63% saw "some" market risk from extended uncertainty over the balance of power, up from 61% in September. Another 14% saw "significant" market risk, up from 7%.

George Saravelos, head of FX Research at Deutsche Bank, said Trump's acceptance of the results should "act as a break on extreme policy outcomes and bring down risk premia," as long as the president's position holds.

Jay Woods of Freedom Capital Markets said the overnight rebound was partly due to the president's "initial tone and reaction to the results." He said the key question is whether the move will last. Woods also cited possible headwinds, including inflation pressures from higher energy prices tied to the conflict in the Middle East.

Philip Blancato of Osaic said that if Trump "continues to play nice" with Democrats, the market could have a "very strong" end to the year. He said reaching 8,000 on the S&P 500 by year-end is not out of the question, though it depends largely on Trump.

The broad index gained more than 1% on Wednesday. Its closing price implied a gain of roughly 4% to that level, according to the source.