WALL STREET: Buying of technology companies spurred gains for U.S. indexes after steep losses in early trading. China has protested the detention of a Chinese technology executive in Canada, which was carried out at the request of the U.S. The S&P 500 index rose 0.2 percent to 2,637.72 and the Dow Jones Industrial Average added 0.1 percent to 24,423.26. The technology-heavy Nasdaq composite rose 0.7 percent to 7,020.52. The Russell 2000 index of smaller-company stocks dropped 0.3 percent to 1,443.09.

HUAWEI HEARING: The bail hearing of Meng Wanzhou, the chief financial officer of Chinese telecommunications giant Huawei, in Vancouver, British Columbia, is to continue after the judge said he would not make a decision Monday. Meng is wanted in the U.S. for allegedly misleading banks about the company’s business dealings in Iran. China has protested Meng’s arrest and told the U.S. and Canada that it would take further steps based on their response.

SOFTER ASIAN GROWTH: On Monday, revised data showed that the Japanese economy shrank by a worse than expected 2.5 percent in the third quarter, partly because of natural disasters. Over the weekend, China reported that its exports and imports slowed in November, adding to concerns that its economy may slow further, sapping regional and global growth.

iPhone BAN IN CHINA: On Monday, U.S. chipmaker Qualcomm said that won an order in a Chinese court that bans some Apple phones in China. This is part of a lengthy dispute over two Qualcomm patents, allowing users to format photos and manage phone apps using a touchscreen. Although Qualcomm said that the ban applies to models of the iPhone 6S through X, Apple said that all iPhones will remain available for customers in China. Qualcomm shares jumped 2.2 percent to $57.24 on the news.

ENERGY: Oil prices began to recover Tuesday from a sharp decline. They have erased their gains from news of a production cut by OPEC countries and other major oil producers. U.S. benchmark crude added 22 cents to $51.22 a barrel. It gave up 3.1 percent to $51 a barrel in New York on Monday. Brent crude, used to price international oils, rose 30 cents to $60.27. The contract dropped 2.8 percent to $59.97 a barrel in London.

CURRENCIES: The dollar weakened to 113.08 yen from 113.34 yen late Monday. The euro rose to $1.1366 from $1.1355.