The session in which the market initially lost around 150 points, saw metal, healthcare and capital goods stocks lose. However, consumer durables, automobile, fast moving consumer goods (FMCG) and oil and gas scrip gained.
The 30-scrip Sensitive Index (Sensex) of the S&P Bombay Stock Exchange (BSE), which opened at 27,008.12 points, closed trade at 27,198.10 points (provisionally), up 107.68 or 0.40 percent from the previous day's close at 27,090.42 points.
The Sensex touched a high of 27,254.80 points and a low of 26,918.93 points in intra-trade.
The S&P BSE metal index lost 157.57 points, healthcare index was down by 154.21 points and capital goods index fell 35 points.
However, consumer durables index gained 299.60 points, automobile index increased by 196.13 points, FMCG index was up 143.29 points and oil and gas index moved up by 88.53 points.
The wider 50-scrip Nifty of the National Stock Exchange (NSE) too ended in positive territory. It was up 24.85 points or 0.31 percent at 8,146.30 points.