The U.S. and China said their presidents will meet in Japan next week to relaunch trade talks after a monthlong stalemate, triggering a rally in financial markets.

U.S. President Donald Trump said Tuesday that he had a "very good" phone conversation with Chinese counterpart Xi Jinping. The two leaders will hold an "extended meeting" at the G20 summit on June 28 and 29 in Osaka and "our respective teams will begin talks prior to our meeting," Trump said on Twitter. The U.S. president had repeatedly threatened more tariffs if Xi spurned the opportunity to talk.

"The meeting might very well go well," Trump told reporters as he departed the White House to officially launch his re-election campaign in Orlando, Florida. China wants to make a deal, he added. "That is working out pretty much as I anticipated," he said.