For the first time in more than a month, investors are putting more money into junk-bond funds than they’re withdrawing as the market recovers from its biggest slump in a year.

Investors deposited $680 million into U.S. high-yield bond funds in the week ended Aug. 13, following a record $7.1 billion withdrawal the prior period, according to Lipper. From July 10 to Aug. 6, they pulled $12.6 billion.

Demand is emerging after the more than $1 trillion market lost 1.92 percent in value from June 23 to Aug. 1 as conflicts escalated in Ukraine and Gaza, prompting investors to dump risky assets. Since then, the debt has gained 1.38 percent, with Citigroup, Barclays and others recommending investors snap up the securities.

“When we saw these big outflows we were looking to buy stuff,” said Mark Okada, of Highland Capital Management, which manages $19.5 billion. “You would think the massive outflow would have done more damage to prices, but the market has been handling it pretty well.”