Hong Kong shares finish Q3 with biggest loss in a month