Asian shares were mixed Monday as investors awaited updates on the signing of a trade deal between the U.S. and China and kept a wary eye on North Korea.

Tokyo’s Nikkei 225 index NIK, +0.50% fell 0.7%, while Hong Kong’s Hang Seng HSI, -0.32% advanced 0.6%. The Shanghai Composite index SHCOMP, -0.11% picked up 0.9% and the Shenzhen Composite 399106, -0.23% rose 0.8%. South Korea’s Kospi 180721, +0.26% edged 0.1% lower while benchmark indexes in Taiwan Y9999, -0.25% , Singapore STI, +0.87% and Indonesia JAKIDX, +2.12% were little changed, Australia’s S&P/ASX 200 XJO, +1.51% slipped 0.5%.

Among individual stocks, Rakuten 4755, -2.44% fell in Tokyo trading, as did robotics maker Fanuc 6954, -0.34% , while Credit Saison 8253, +2.08% and textiles-maker Toyobo 3101, +0.78% gained. In Hong Kong, Wharf Real Estate 1997, -0.80% , Geely Automobile 175, -0.78% and AIA Group 1299, +1.30% gained. Chip maker SK Hynix 000660, -1.66% declined in South Korea, and Oil Search OSH, +1.83% dipped in Australia.

Potential moves by North Korea were overhanging markets between the Christmas and New Year holidays.

At a meeting of the country’s ruling Workers’ Party, North Korean leader Kim Jong Un called for his military and diplomats to prepare unspecified “offensive measures” to protect the country’s security and sovereignty, the North’s state media said Monday.

Kim has set an end-of-year deadline for the U.S. to make major concessions to salvage a fragile nuclear diplomacy that hit a major setback at a summit meeting with President Donald Trump in Vietnam’s capital Hanoi.

The plenary meeting of the party’s Central Committee, which began on Saturday, is being closely watched amid concerns that Kim could suspend his deadlocked nuclear negotiations with the United States and take a more confrontational approach by lifting a self-imposed moratorium on nuclear and long-range missile tests.

Elsewhere, European markets closed mostly higher and major U.S. stock indexes closed nearly flat on Friday as the market retreated slightly from its latest highs. Even so, the S&P 500 notched its fifth-straight weekly gain. Retailers and other companies that rely on consumer spending led the rise. Technology stocks also rose. Those gains were checked by losses in banks and communication services companies. The S&P 500 SPX, +1.59% was unchanged. The Dow Jones Industrial Average DJIA, +1.33% rose 0.1%, while the Nasdaq composite COMP, +2.26% slipped 0.2%.

A truce in the 17-month U.S.-China trade war and positive signs for the economy have helped keep investors in a buying mood. Fears about a possible recession have also faded since the summer after the Federal Reserve cut interest rates three times. The central bank appears set to keep them low for a long time.

Still, as the market prepares to close out a strong year of gains next week, uncertainty remains over the final details of the “Phase 1” trade deal between Washington and Beijing, which U.S. officials say will be signed in early January. Details of the agreement have not been disclosed, and it’s unclear how much impact it will have if the two sides are unable to resolve remaining differences. Next year also has the added complication of the U.S. presidential election.

“The main driver continues to be an apparent impending signing of the U.S.-China ‘phase-one’ trade agreement in January and the ensuing boost to world growth that should follow. Whether that growth materializes or not, will be a story for another day,” Jeffrey Halley of Oanda said in a commentary.

Looking ahead, factory data from China is one of the few likely market movers expected this week.

On Monday in Asia, benchmark U.S. crude oil US:CLH20 rose 3 cents to $61.75 per barrel in electronic trading on the New York Mercantile Exchange. It gained 4 cents to $61.72 per barrel on Friday. Brent crude UK:BRNH20 , the international standard, gained 11 cents to $66.98 per barrel.