Yuan hits 7-month high, but gains moderate ahead of Powell speech