Wall Street is set to open higher Wednesday after the U.S. midterm elections showed the Democrats winning control of the House of Representatives and the Republicans keeping a majority in the Senate.

“One thing is for sure – the cloud of uncertainty from the last few weeks has lifted. Underinvested traders will return to the markets.”

Though the election results increase the potential for political gridlock in Washington, the outcome was mostly expected, so markets have not been as volatile as after other political events, such as the 2016 presidential vote.

Futures show the S&P 500 and Dow Jones Industrial opening about a half a percent higher, while the Nasdaq is poised for a gain of closer to 1 percent.

It’s not clear how a government divided between a Democrat-controlled House, a Republican Senate and Republican President Donald Trump might govern. But if the possibilities for compromise and big agenda items seem limited, Wall Street is fine with that because it means politics is that much less likely to crowd out the performance of the strong U.S. economy.

Republicans had discussed a new round of tax cuts if they maintained full control over Congress, a move that would have expanded the government’s deficits further and required it to issue more debt. Government bond yields spiked overnight after a batch of strong early results for some GOP candidates, but then headed lower as Democrats’ fortunes improved, making a new tax cut package unlikely.

The yield on the 10-year Treasury note went as high as 3.25 percent Tuesday night from 3.21 earlier in the day. On Wednesday morning it dipped to 3.20 percent.

The U.S. dollar also weakened in the morning. The U.S. currency fell to 113.22 yen from 113.40 yen, and the euro climbed to $1.1487 from $1.1413.

Major indexes in Europe climbed. The French CAC 40 jumped 1.3 percent, while the DAX in Germany rose 1 percent and Britain’s FTSE 100 gained 1.1 percent.

“One thing is for sure – the cloud of uncertainty from the last few weeks has lifted,” said Mike Read, founder of social trading platform Pelican. “Underinvested traders will return to the markets.”

The U.S. markets swooned in October — the S&P 500 fell about 7 percent — as investors worried about rising interest rates and the U.S.-China trade dispute. Both the S&P 500 and the Dow are showing small gains so far in November.

October is historically a rough month for stocks, and markets usually rise after midterm elections regardless of how the political landscape may change because Wall Street is glad to have more certainty.

The midterm elections had implications for various sectors of the market. Marijuana growers were on track for gains Wednesday morning after voters in Michigan passed a ballot measure to legalize marijuana, while Missouri became the 31st state to approve marijuana. Utah was also considering that step. A marijuana legalization measure in North Dakota was defeated.

Including Michigan, 10 states and the District of Columbia have legalized recreational marijuana. And Canada recently did so. But the passage in Michigan gives it a foothold in Middle America.

“I’ve got no attachment to marijuana myself, but I don’t care to stand in the way of the train while it’s coming down the tracks,” said Kristin Schrader, 51, from Superior Township in Washtenaw County. “I don’t want people to go to other states to get it and spend their money somewhere else. If there’s going to be an economic benefit to legalize marijuana, I want it to be in Michigan.”

Shares of Medicaid program administrators could rise after Idaho and Nebraska both voted to expand the Medicaid programs.

And a couple of oil drillers, Anadarko Petroleum and Noble Energy showed strong gains in premarket trading after Colorado voters rejected a measure that could have sharply reduced oil and gas drilling, including the method known as fracking, by requiring new oil and gas wells to be farther from occupied buildings than allowed under current law.

It’s not clear how the election’s outcome will affect the Trump policy Wall Street might be most concerned about: his pursuit of an “America first” trade strategy that has drawn the U.S. and China, the world’s two biggest economies, into a trade war.

“A split Congress will, in all likelihood, not stop Trump from doubling down on tariffs with China,” said Neil Wilson, chief markets analyst at Markets.com.

In Asia, Japan’s benchmark Nikkei 225 fell 0.3 percent while South Korea’s Kospi slipped 0.5 percent. But Hong Kong’s Hang Seng edged 0.1 percent higher.

A primary concern in Asia is the potential for trade tensions to hobble growth for export-reliant economies. Trump has imposed penalty tariffs of up to 25 percent on $250 billion of Chinese imports, and Beijing has responded with tariffs on $110 billion of American goods.

Konstantinos Anthis, head of research at financial services firm ADSS, said Trump will “definitely have a tougher time getting his legislative initiatives through Congress” but that this in “shouldn’t be a dampening factor for the dollar itself in the long term.”

Potentially more important for the dollar this week after midterm elections, he said, will be the Federal Reserve’s latest interest rate announcement on Thursday and its accompanying statement. Though rates are expected to be kept on hold, policymakers are set to signal a further increase next month.

The Associated Press contributed to this report.