The rally was led by IT and financial stocks, with Wipro and HDFC Bank among the top gainers