A slight recovery in the HSBC Services Purchasing Managers' index last month also helped improve sentiment, although the data continued to show a contraction.
The outlook remains cautious as Asian shares remain under pressure as part of an emerging market shakeout driven by the Federal Reserve's gradual scale down of monetary stimulus and fears of a slowdown in China.The outlook remains cautious as one cannot ignore that India is also an emerging market and we are not prone to what happens in other markets.
The Nifty rose 0.36 per cent, or 21.50 points, to 6,022.40 and Sensex rose 0.24 per cent, or 49.10 points, to 20,261.03.The Nifty found support at its 200-day moving average for a second consecutive day after falling below that level at one point on Tuesday.
Among blue chips, Tata Motors gained 2.7 per cent, adding to Tuesday's 2.8 per cent rise after falling 12.9 per cent in the eight sessions till Monday, while Tata Consultancy Services rose 2 per cent.
HDFC Bank rose 1.1 per cent, while Coal India ended 2.4 per cent higher.
Ranbaxy Laboratories, India's biggest generic drugmaker by revenue, jumped 5.7 per cent after it posted a narrower net loss in the latest quarter, helped by ramped-up sales of two acne drugs in the United States.
Tech Mahindra gained 3.9 per cent after its December-quarter profit rose more than three-fold to beat analysts' estimates.
Power Finance Corporation surged 5.5 per cent after its December-quarter earnings rose 37.3 per cent to Rs. 1,534 crore, beating some analysts' estimates.
Reliance Infrastructure ended lower 1.2 per cent on caution ahead of its December-quarter earnings on Thursday. The Delhi state government asked the region's power regulator to revoke the licences of two electricity distributors, run by the company, if they fail to supply power, this as brought the stock down too.