A 20% year-to-date gain in Shanghai’s benchmark index has further to travel