HK firms ride stock market rollercoaster