The 30-share S&P BSE Sensex, which gained 354 points in the previous two sessions, traded between 20,135.91 and 20,323.77 before ending at 20,272.91, advancing 23.65 points, or 0.12 percent.
The 50-share CNX Nifty on the National Stock Exchange rose 13.5 points, or 0.22 percent, to 6,020.95. The SX40 on the MCX Stock Exchange added 23.42 points to 12,079.15.
Brokers said investors turned cautious and parked their funds in less risky and fundamentally strong stocks ahead of the second-quarter earnings season, starting on Thursday with Infosys results.
They said a firm trend in the Asian region and a higher opening in Europe amid signs US lawmakers will agree on a compromise deal to avoid an unprecedented default, fuelled the uptrend.
Among the Sensex shares, 14 closed with gains. Infosys, the second most valued software company, rose 0.53 percent to Rs 3,124.15, completing a four-day rising streak.
Other gainers included Maruti Suzuki, Mahindra and Mahindra, NTPC, State Bank of India, Tata Motors, Tata Steel, Wipro and HDFC Ltd.
The auto sector index gained the most, rising 1.94 percent, after some banks reduced lending rates for car and scooter loans. The metal sector added 0.49 percent.
The IT sector index rose 0.44 percent and the healthcare index 0.36 percent.


Latest News  from Business News Desk