Hong Kong was definitely the place to be for IPO lawyers who were prepared to ride the capital markets wave that hit the city in 2018.

The Asian financial hub is on track to top the global IPO market for the year, beating out its historical rival—New York. It achieved this financial feat largely because successful Chinese companies, such as smartphone maker Xiaomi Corp, chose to go public in Hong Kong this year.