Ant's dual listing is set to raise about $34.4 billion, split fairly evenly between Shanghai's STAR Market and Hong Kong, topping Saudi Aramco's $29.4 billion listing last December.

Investors, both retail and institutional, are rushing to buy into Ant, which operates China's biggest payments platform and other financial services, despite risks of greater scrutiny at home and abroad.

The Shanghai leg of the IPO drew about 19 trillion yuan ($2.8 trillion) of bids from retail investors, or 872 times the number of shares earmarked for them, a company filing to the stock exchange showed on Thursday.

The Hong Kong tranche got HK$1.3 trillion ($168 billion) in bids, or 389 times the shares on offer, said people with knowledge of the matter on Friday, declining to be identified as the information is not public yet.

The bookbuilding for the Hong Kong leg of the IPO of Ant, backed by e-commerce behemoth Alibaba, ran from Monday to Friday, while books for the Shanghai leg were open for one day on Thursday.

The $3 trillion of retail investor bids, equivalent to the gross domestic product of the United Kingdom, comes against the backdrop of shaky global markets ahead of next week's U.S. presidential election and a dour global economic outlook.

Investors in the IPO, however, have brushed aside company-specific and broader market concerns on hopes that Ant will continue to benefit from the rapid digitization of financial services in China.

Harrison Chan, a 25-year-old financial professional in Hong Kong, spent 40% of his monthly income on applying for Ant shares, and is now wondering whether he will get any, given the large number of bids made.

"I am confident in the company's future prospect because it is involved in many different businesses ... and they are all online services, which is the direction the world would be heading to, so I think its potential is huge," Chan said.

'PROMISING FUTURE'

Starting as a payments processor in 2004, Ant has built an empire in China by offering its users short-term loans that are credited within minutes, and selling insurance and investment products.

The unprecedented retail frenzy for Ant shares is backed by massive amount of margin lending by financial institutions, with brokerages in Hong Kong lending billions.

Hangzhou-based Ant decided to exercise a so-called greenshoe option to increase the share offer by 15% and is now selling a total of 1.92 billion shares on the Nasdaq-style STAR Market, according to Ant's filing with the Shanghai exchange.

The company on Monday set the price of the Shanghai leg at 68.8 yuan ($10.27) per share. Before the greenshoe, it was offering 4% of the initial 1.67 billion shares to mainly retail investors across the country.

Retail investors' enthusiasm towards Ant's flotation has triggered a clawback mechanism, where their heavy over-subscription could result in them receiving a greater share, Ant said in the Shanghai filing.

"It's a definite thing that one day a Chinese company will have the largest IPO ever but it just came quick," said Beijing resident Ms Qin, 23, a consultant with one of the leading banks in China, declining to give her first name.

"This has very much to do with China's growing economic size and its huge population contributes a lot to Ant's businesses," said Ms Qin, who has applied for Ant shares in Shanghai. "I am confidently investing in Ant due to its promising future."

($1 = 7.7500 Hong Kong dollars)

(Reporting by Julie Zhu and Sumeet Chatterjee; additional reporting by Carol Mang in Hong Kong and Shanghai newsroom; Editing by Kirsten Donovan and Mark Potter)

By Julie Zhu and Sumeet Chatterjee