Hong Kong has been buffeted by a rout in China that has also spread into regional markets, as well as fears for Greece’s future in the eurozone.

With Shanghai struggling, Chinese investors pulled out of Hong Kong — where multiple mainland firms are listed — sending it plunging almost six percent Wednesday in its worst single-day performance since November 2008, at the height of the global financial crisis.

Thursday’s rally came as Shanghai swung from losses to gains after China announced more measures to try to staunch a sell-off that has seen more than 30 percent wiped from mainland shares and fanned fears about the wider economy.

The Shanghai Composite Index closed up 5.76 percent, or 202.14 points, at 3,709.33.

It fell as much as 3.81 percent and rose up to 6.88 percent during the day — an overall range of more than 10 percent.