At close, the Sensex was up 638.70 points or 1.22% at 52,837.21, and the Nifty was up 191.90 points or 1.23% at 15,824 on the back of positive global cues. Tech Mahindra was the top gainer followed by Bajaj Finance, Bharti Airtel, and Bajaj Finserv. Only HUL, Bajaj Auto, Asian Paints, and Mahindra & Mahindra closed with losses. About 2131 shares have advanced, 1054 shares declined, and 128 shares are unchanged. The Nifty Metal index added over 3 percent on the NSE, trailed by the Nifty IT and Realty indices, up around 2 percent each. Except for FMCG, all other sectoral indices ended in the green.BSE midcap and smallcap indices rose 1.5 percent each. India VIX closed 10% lower.