Photo/IllutrationVisitors take photos of a statue of a bull along a shopping street in Beijing on June 7. (AP Photo)

Asian shares were mostly higher Friday on investor optimism about a possible trade deal between the U.S. and Mexico before tariffs take effect.

Japan's Nikkei 225 gained nearly 0.4 percent to 20,850.24 in morning trading, while Australia's S&P/ASX 200 rose 0.5 percent to 6,416.50. South Korea's Kospi was little changed but inched up less than 0.1 percent to 2,069.75. Hong Kong's Hang Seng added nearly 0.3 percent to 26,965.28, while the Shanghai Composite lost 1.2 percent to 26,965.28.

A modest Wall Street rally gained strength in the final hour of trading after Bloomberg reported that the United States was considering delaying a 5 percent tariff on Mexican goods, set to go into effect on Monday. The report came as the two countries held a second day of trade talks.

The S&P 500 index gained 17.34 points, or 0.6 percent to 2,843.49. The Dow Jones Industrial Average rose 181.09 points, or 0.7 percent, to 25,720.66. It briefly climbed 260 points.

The Nasdaq composite reversed an early slide, adding 40.08 points, or 0.5 percent, to 7,615.55. The Russell 2000 index of smaller companies dropped 3.25 points, or 0.2 percent, to 1,503.54.

U.S. President Donald Trump said he'll make a decision about ramping up tariffs on China after he speaks with Chinese President Xi Jinping this month during the Group of 20 meeting in Japan, which brings together leaders of developed and developing countries.

Trump ordered tariffs of up to 25 percent on hundreds of billions of dollars' worth of Chinese exports and his administration is preparing to extend them to $300 billion more--almost all items shipped to the United States from China. China has reciprocated with tariffs of its own, among other measures.

The trade dispute with Mexico and China threatens to stifle economic growth in the United States and globally. Uncertainty surrounding the trade negotiations has sent many traders fleeing to safer investments, like bonds and gold.

Investors are also watching the U.S. jobs data due later in the day for signs of where the economy is going.

"Asia markets look set to trail after the U.S. with moderate gains as worries on trade tuned a notch lower through the Thursday session. The attention, meanwhile, is mostly focused upon Friday's U.S. labor market update," said Jingyi Pan, market strategist at IG in Singapore.

Benchmark U.S. crude gained 58 cents to $53.17 a barrel. Brent crude oil, the international standard, rose 63 cents to $62.30 a barrel.

The dollar rose to 108.47 yen from 108.22 yen on Thursday. The euro strengthened to $1.1272 from $1.1231.