President Trump he would intervene in the Department of Justice’s case against Huawei's chief financial officer if it would advance trade talks with China.

“If I think it’s good for the country, if I think it’s good for what will be certainly the largest trade deal ever made – which is a very important thing – what’s good for national security – I would certainly intervene if I thought it was necessary," he said in an interview with Reuters.

In London, the no-confidence vote by members of her Conservative Party reflected unhappiness with the Brexit deal she has negotiated with the European Union. Still, she won the poll, 200-117, to retain her position. May needed at least 159 votes to win.

Some of the biggest gainers were trade-related stocks like Catepillar, Boeing, General Motors, AMD, Broadcom, Micron Technology, Intel, DowDuPont and Bunge.

More from FOX Business ...

On the economic calendar, November consumer prices came in unchanged, which was right in line with expectations. When you back out food and energy, the core CPI rose 0.2 percent. That also matched expectations.

On Tuesday, the Dow Jones Industrial Average closed lower after a volatile session that saw it rise more than 300 points before plunging more than 500 points over investor fears of a government shutdown.