Asian markets rebounded Friday on hopes that upcoming trade talks between the U.S. and China will calm a trade dispute that has rattled global markets.

After a global sell-off triggered by Apple’s warning of lower revenues, Hong Kong’s Hang Seng Index climbed 2.2 percent to 25, 626.03 and the Shanghai Composite Index jumped 2.1 percent to 2, 514.87. The Nikkei 225 Index, however, fell 2.3 percent to close at 19,561.40.

European shares also recouped earlier losses, with Germany’s DAX Performance Index and France’s CAC 40 Index closing nearly 1 percent higher.

Stock markets across the globe dropped Thursday after tech giant Apple said sales of its devices had fallen sharply in China last month, perhaps signaling a broader slowing in the world economy.

Apple has blamed U.S. President Donald Trump’s trade dispute with China for its shrinking outlook, but the U.S. leader tweeted his defense Thursday, claiming,  “The United States Treasury has taken in MANY billions of dollars from the Tariffs we are charging China and other countries that have not treated us fairly. In the meantime we are doing well in various Trade Negotiations currently going on. At some point this had to be done!” 

Friday China’s government said a U.S. trade delegation will visit Beijing next week for two days of talks on carrying out an agreement reached by Trump and Chinese President Xi Jinping to postpone new tariff hikes.

On December 1 the two leaders agreed to complete talks about technology, intellectual property and cyber theft issues within 90 days, and hold off on new tariffs in the meantime.  U.S. officials have said that if the talks fail to produce a satisfactory agreement Washington will increase tariffs on $200 billion of Chinese goods from 10 percent to 25 percent.

Apple chief executive Tim Cook blamed the company’s sales shortfall on the trade battle President Donald Trump is waging against China.

“While we anticipated some challenges in key emerging markets, we did not foresee the magnitude of the economic deceleration, particularly in Greater China,” Cook wrote.

Kevin Hassett, chairman of the White House Council of Economic Advisers, said the contentious U.S.-China relations will force other U.S. companies to cut their sales estimates in China.

“It’s not going to be just Apple,” Hassett told CNN. “There are a heck of a lot of U.S. companies that have sales in China that are going to be watching their earnings being downgraded next year until we get a deal with China.”

He said slowing consumer demand in China gives Trump an edge in ongoing trade negotiations.

“That puts a lot of pressure on China to make a deal,” he said. “If we have a successful negotiation with China then Apple’s sales and everybody else’s sales will recover.”

The U.S. economy remains strong, with the country’s 3.7 percent jobless rate at a nearly five-decade low. But economists say the U.S. economy could be slowing and uncertainty in global economic fortunes has led to volatile daily swings in stock indexes in recent weeks.

In 2018, U.S. stock indexes suffered their worst year in a decade, with most of the losses recorded in December. The Dow was off 5.6 percent for the year, with the broader Standard & Poor’s index of 500 stocks down 6.2 percent.