HONG KONG (Reuters) - Alibaba is considering raising as much as $20 billion through a listing in Hong Kong, people familiar with the matter told Reuters, lining up a second blockbuster deal following its 2014 record $25 billion float in New York.

The deal, the biggest follow-on share sale in seven years globally, would give Alibaba a war chest to keep investing in technology - a priority for China as growth flags and as the world’s second-largest economy is locked in a mounting trade spat with the United States.

The e-commerce giant is working with financial advisers on the offering and is aiming to file an application confidentially in Hong Kong as early as the second half of 2019, three people said on condition of anonymity as the plans are not public yet.

While advisers and others close to the deal downplayed any trade war reasoning for the move, analysts said the context and geography could not be ignored.

“For Chinese companies listed in the United States, one has to prepare a contingency plan,” said Hao Hong, head of research at broker BOCOM International.

“Given most of the Alibaba investors are in Asia, it makes sense to come closer to your home base and give investors an option to trade in the same time zone.”

Last week, Chinese chipmaker SMIC said it was delisting its New York shares in favor of focusing on its Hong Kong listing.

Sources with knowledge of Alibaba’s plans cautioned that many details were not yet clear, including the final planned size. One person with direct knowledge said it was more likely to be between $10 billion and $15 billion.

At $20 billion, Alibaba’s deal would be the sixth-biggest follow-on share sale ever, Refinitiv data shows.

It would rank behind NTT’s 1987 $36.8 billion sale, crisis era offerings of $24.4 billion and $22.5 billion from the Royal Bank of Scotland and Lloyds Banking Group, and the $20.7 billion raised by U.S. insurer AIG in 2012.

A spokesman for Alibaba declined to comment.

SoftBank Group, Alibaba’s largest investor, did not immediately respond to a request for comment.

The Japanese tech investor has a 28.8% stake, worth $115.7 billion, in Alibaba after it sold a small part of its original holding via derivatives to fund its acquisition of chip designer ARM in a transaction that completes next month.

FILE PHOTO: A logo of Alibaba Group is seen at an exhibition during the World Intelligence Congress in Tianjin, China May 16, 2019. REUTERS/Jason Lee

SoftBank founder and CEO Masayoshi Son is a close friend of Alibaba founder Jack Ma.

Bloomberg was the first to report the plan for a Hong Kong listing.

ADDED LIQUIDITY

Since its U.S. listing, Alibaba has nearly doubled in size to become the largest-listed Chinese company with a market value of more than $400 billion.

A Hong Kong listing would give mainland investors their first direct access to one of China’s biggest success stories, via the stock connect trading link between Hong Kong, Shanghai and Shenzhen.

It would also give the company an extra pocket of liquidity and potentially a better valuation if the household name became a favorite among retail investors in Hong Kong.

A Hong Kong-based analyst said while Alibaba is not in need of cash, the listing could help it improve its access to loans from Asian banks. “It means closer access to Chinese investors, and maybe Chinese investors are more bullish than the global investors in Alibaba,” the analyst added.

Rival Tencent, which is listed in Hong Kong, is trading at 26 times its expected earnings compared with Alibaba’s 22 times in New York, according to Refinitiv data.

A Hong Kong listing for Alibaba would come as its 54-year-old founder prepares to step down as chairman in September, handing over the mantle to CEO Daniel Zhang.

The company is also expanding into new sectors including cloud computing division and Hema, its chain of brick-and-mortar supermarkets as growth in its core e-commerce business slows.

The listing would provide Alibaba with additional capital to fund its new and expensive initiatives, said James Hull, founder of Hullx capital and co-host of the China Tech investor podcast.

“Alibaba has strong and growing free cash flow, but they’re also pursuing cash-hungry new initiatives,” he added.

HOMECOMING

An Alibaba float would be seen in Hong Kong as a victory, after the city lost the tech giant’s initial public offering to New York because its then rules precluded it accepting Alibaba’s governance structure, where a self-selecting group of senior managers control the majority of board appointments.

Any big listing would also be a bonus to the city’s traders.

“With such a big market cap, it will enhance the daily trading volume [and] attract more funds into the market - that’s exciting many investors,” said Steven Leung, a director at UOB Kay Hian in Hong Kong.

Trading in Alibaba shares averaged $2.2 billion a day in the first quarter of this year, according to Refinitiv data, compared with the total average daily turnover on the Hong Kong exchange of $12.9 billion in the same period.

Hong Kong amended its rules last year to make it easier for “innovative companies” already listed in New York or London to sell shares in Hong Kong, as part of a broader shake up of the city’s listing regime.

The new rules allow companies based in greater China to list in the city even if their current weighted voting rights structures contravene Hong Kong’s rules for primary listings.

Such companies can also apply confidentially for a listing, as Alibaba is expected to do.

A spokesman for HKEX declined to comment on news of Alibaba’s listing plans in Hong Kong.