China timed its latest currency announcement brilliantly