Key equity indices ended with small gains after a volatile session on Tuesday. The Nifty closed just shy of the 14,700 mark. Gains were capped amid a spike in COVID-19 cases in the country. Metal and pharma stocks were in demand while banks shares extended losses. The barometer index, the S&P BSE Sensex, advanced 42.07 points or 0.09% to 49,201.39. The Nifty 50 index added 45.70 points or 0.31% to 14,683.50. It hit an intraday low of 14,573.90 and an intraday high of 14,779.10. Asian Paints (up 4.07%), Hindustan Unilever (up 1.44%) and HDFC (up 1.10%) supported the indices. ICICI Bank (down 0.91%), HDFC Bank (down 0.56%) and Reliance Industries (down 0.46%) were major drags.