The blue-chip index was last up more than 3% at 6090.71 points.
The turmoil started when the central bank announced on August 11 that it was devaluing the yuan, which many saw as a desperate attempt to pump up exports in the face of a slumping domestic economy.