IT stocks traded higher following the latest June-quarter earnings, with investors favouring companies that delivered stronger growth and profitability. While Tech Mahindra gained after reporting better-than-expected results, Wipro came under pressure due to weaker margins and cautious guidance.