* China stocks gain 15 pct in July, biggest in two years
* HK shares rally for 5th month, up 3 pct on week
* Datang shares jump on strong profit outlook (Updates to close)
By Parvathy Ullatil and Samuel Shen
HONG KONG, July 31 (Reuters) - Hong Kong and China stocks rose on Friday, regaining their composure from Wednesday's steep sell-off, after the central bank reassured investors it would stick to a loose monetary policy and would not curb lending.
Both markets recorded another month of hefty gains in July, the seventh successive monthly gain for Shanghai and the fifth winning month for Hong Kong, fuelled by positive earnings momentum and analyst upgrades.
In the absence of a major disappointment in U.S. economic data due next week, or in corporate earnings that will continue to trickle in through August, analysts expect the stock markets to continue their upward trajectory.
"A lot of people, including some long funds out there, are still underweight on the market because they didn't buy the recovery story. But there is only so long you can wait, you have put that money to work," said Andrew Sullivan, sales trader with MainFirst Securities.
China's 4 trillion yuan ($585.5 billion) stimulus package, unprecedented lending growth and stabilising economy have helped to propel a more than doubling of the Shanghai index from last October's two-year low and fuelled a 43 percent surge in Hong Kong shares.
POWER STOCKS ELECTRIFY
Power companies, which have lagged the market rally this year, jumped on Friday, after Datang International Power Generation (601991.SS) forecast a surge in first-half profit. [ID:nHKG92038]
Datang jumped its 10 percent daily limit to 10.47 yuan in Shanghai, while its Hong Kong-listed shares (0991.HK) jumped 5.4 percent to HK$5.09
China Resources Power (0836.HK) climbed 5.5 percent in Hong Kong. The country's fourth largest power producer plans to take a 25 percent stake in a 25 billion yuan ($3.66 billion) nuclear project in Hunan, China, chief financial officer Wang Xiaobin told Reuters on Thursday. [ID:nHKG283866]
The benchmark Hang Seng Index .HSI finished up 339.25 points at 20,573.33 after scaling an 11-month high of 20,712.66 earlier amid strong corporate earnings forecasts and analyst upgrades.
HSBC (0005.HK) lead the charge with a 4.6 percent jump even as some analysts predicted a loss for the global banker when it reports its first-half earnings next week on the back of write-offs at its U.S. unit.
The gauge gained 11.9 percent in July and 3 percent in its third consecutive weekly rally. Continued...