China’s benchmark Shanghai Composite Index ended 2018 as the world’s worst market performer for a second year. Photo: AP