China was ready for oil shock; now investors reaping rewards