It's been a tough week for HK markets. Here's why

Amid global market turmoil, Hong Kong's stocks and its tightly controlled dollar have taken an outsized tumble this week, spurring speculation the currency peg may snap.

Hong Kong's markets are hurting due to a confluence of factors. The special administrative region's trade and financial ties to China, once a source of strength, have now become a liability as the mainland grows at its slowest pace in 25 years. Despite the plunge against the greenback, the Hong Kong dollar still remains expensive against peers such as the South Korean won, creating headwinds for exports.

Investors have also taken fright at hefty capital outflows.

On Thursday, the Hang Seng Index (Hong Kong Stock Exchange: .HSI) dropped 1.82 percent, extending Wednesday's 3.8 percent tumble, hitting its lowest since mid-2012, during the European debt crisis. The HSCEI, or the Hang Seng China Enterprises Index (Hong Kong Stock Exchange: .HSCE), lost 2.24 percent Thursday after dropping 4.32 percent Wednesday.

Outflows from the market pushed the Hong Kong dollar (Exchange:HKD=) (HKD) to its lowest level since August 2007, with the U.S. dollar fetching as much as HK$7.8241. The Hong Kong Monetary Authority (HKMA) has pegged its exchange rate to a HK$7.75 to HK$7.85 range against the U.S. dollar.

Although the currency didn't leave its range, that spike spurred renewed speculation that the peg could snap. To be sure, bets the peg isn't long for this world have cropped up perennially throughout its 32-year history without any sign the peg is anything but firm.

"Hong Kong -- the HKMA, and the Hong Kong government -- have a track record of defending the peg and maintaining the financial integrity of Hong Kong and I don't see that that's going to change anytime soon," Richard Titherington, chief investment officer and head of Asia-Pacific equities at JPMorgan Asset Management, told CNBC's Squawk Box Thursday. "There's no reason to think the peg is going to break."

That hasn't stopped the speculators from laying chips on it, said Angus Nicholson, a market analyst at spreadbettor IG, in a note Thursday.

"While the HKD has withstood rampant speculation before during the Asian Financial Crisis and the SARS crisis, short bets face at worst a move to HK$7.75 (the band being HK$7.75-HK$7.85) against them and anywhere from a 20-50 percent upside if the peg were broken," Nicholson said. "The risk-reward balance of the trade makes it compelling even if it has a low likelihood of eventuating."