Indian shares ended higher on Monday boosted by IT stocks, after paring some of the early gains on optimism from the US-Mexico migration deal last week that averted a potential tariff war.Shares of Tata Consultancy Services, Infosys Ltd and Tech Mahindra Ltd ended between 1.9 percent and 2.5 percent higher, boosting the Nifty IT index, which closed 1.57 percent higher.Britannia Industries Ltd ended as the top gainer among the bluechips, closing up 3.47 percent at Rs 3,000, an over three-month high. Oil and gas companies such as Indian Oil Corp Ltd, Gail (India) Ltd and Oil and Natural Gas Corporation Ltd were among the top losers, dragged by a rise in crude prices due to tighter supply.Financials, which gained at the opening bell, reversed course to end in the red. The Nifty banking index closed 0.1 percent lower, with Yes Bank Ltd finishing the day down 2.43 percent.Here's a quick recap of how top market indices and stocks fared on Monday:Frontline indicesNifty50: The broader 50-share NSE index settled at 11,922, up 52 points, or 0.44 percent. So far this year, the Nifty has added over 1,060 points, rising 9.76 percent.Sensex: The 30-share benchmark BSE index jumped 168 points, or 0.43 percent, to settle at 39,784. So far this year, the BSE index has surged over 10 percent percent, adding almost 3716 points.Top stocksHDFC Bank: The private sector lenders' shares slipped 0.21 percent in trade today, quoting at Rs 2,442.60 on NSE at Monday's close likely due to profit-booking.HDFC: The HDFC group's NBFC stock settled at Rs 2,192, down by 0.85 percent, on NSE at close.Reliance Industries: The oil-telecom-retail conglomerates' shares rose 0.43 percent at close, settling at Rs 1,320.50 on NSE.Hindustan Unilever: The FMCG major's stock closed at Rs 1,848 per share, up almost a percent at close on NSE.Tata Consultancy Services: The IT major settled 2.17 percent higher, closing at Rs 2,229.10 per share on NSE.Top sectorsNifty Bank: The banking gauge settled 0.10 percent lower at 31034, down by 32.55 points. So far this year, Nifty Bank has gained over 14 percent.Nifty Auto: The index surged 0.30 percent to settle at 8216. So far this year, it has corrected by over 11 percent.Nifty IT: The IT index surged 1.57 percent to settle at 16362. So far this year, it has gained 13.31 percent.Nifty FMCG: So far this year, Nifty FMCG has lost a little over half a percent. It settled 1.30 percent higher on Monday.Nifty Metal: The metal index gained 0.18 percent to settle at 2912.25. So far this year, the index has lost 7.68 percent.