US STOCKS-Home Depot, strong housing data helps Wall St pare losses
* Home Depot, TJX hit record highs after results
* Wal-Mart falls after weaker-than-expected results
* July housing starts beat estimates; at near 8-year high
* Chinese stocks slump, yuan devaluations fears resurface
* Indexes: Dow down 0.06 pct, S&P up 0.02 pct, Nasdaq off 0.16 pct (Adds details, adds quote, updates prices)
By Tanya Agrawal
Aug 18 (Reuters) - U.S. stocks erased most of their losses in late morning trading on Tuesday, as strong results from Home Depot and strong housing data helped offset a slump in Chinese shares and Wal-Mart's weaker-than-expected results.
Home Depot rose as much as 3.4 percent to a record high of $123.80 after the home improvement retailer's quarterly same-store sales increased more than expected.
The stock gave the biggest boost to the Dow and the S&P 500 and, along with TJX, led the consumer discretionary index to its fourth straight day of gains. Continuación...