SHANGHAI (Reuters) - Chinese investors more than doubled their Hong Kong stocks purchases this year, braving market headwinds from violent street protests and the protracted Sino-U.S. trade war, which have battered the Asian financial hub’s economy.

FILE PHOTO: The name of Hong Kong Exchanges and Clearing Limited is displayed at the entrance in Hong Kong, China January 24, 2018. REUTERS/Bobby Yip

Data from the Hong Kong Stock Exchange (HKEX) showed mainland investors had been net buyers of Hong Kong stocks for the nine months through to November, as they hunted for bargains in the wobbly $4.5 trillion stock market.

Total net inflows via the Stock Connect linking mainland and Hong Kong in the Jan-Nov period amounted to about HK$208 billion ($26.58 billion), versus about HK$83 billion for the full year of 2018, according to HKEX.

For a graphic on mainland investors bought a total of HK$208 bln HK-listed stocks via Stock Connect in Jan-Nov, click

The months-long protests and their hit to sectors including tourism, retail and real estate have all contributed to the benchmark Hang Seng index’s global underperformance this year.

For a graphic on Hong Kong economy fell into recession, click

For a graphic on Hong Kong stocks among worst performers in the past six months, click

Mainland investors have been undeterred, though, seeing opportunities to buy on the dip when the overall appetite for risk is dampened and valuations of Hong Kong stocks hover near three-year lows.

For firms dual-listed in mainland China and Hong Kong, the latest AH premium index indicates Hong Kong-listed shares are more than 20% cheaper on average than their mainland peers.

China’s No. 2 telecom equipment maker, ZTE Corp, for example, on Wednesday, traded at 31.18 yuan in Shenzhen, while selling at HK$20.9 in Hong Kong, representing a near 40% discount.

For a graphic on Mainland investors continue to buy Hong Kong stocks as valuations hover near 3-yr lows, click

Still, there has been a tendency to shun local Hong Kong firms and chase mainland companies whose business operations derive revenue and profits mainly from outside of Hong Kong.

Among mainland investors’ darlings, Chinese food-delivery giant Meituan Dianping has seen its share price more than double this year, with upward momentum enhanced by its inclusion in the Stock Connect scheme.

Shares of another consumer bellwether, Haidilao International, also doubled this year, amid bets Beijing would roll out more measures to spur domestic consumption to shore up growth.

For a graphic on Mainland investors' Hong Kong darlings outperform in 2019, click

Mainland investors are playing an increasingly significant part in the Hong Kong stock market, owning stakes of 20% or more in several dozen firms.

Analysts believe in the long-run there is still abundant room for their exposure to Hong Kong stocks to keep rising, as their overall holdings are far from dominant and as the listings of tech giants, such as Alibaba, boost the offshore market’s attractiveness.