Market has ended with smart gains; Nifty above 8300: Benchmark share indices ended higher, amid a choppy trading session, led by financials ahead of key economic data due for release later today. The Sensex ended higher by 126.89 points at 27585.2 and the Nifty was up 38.5 points at 8323. The market breadth indicating the overall health of the market was strong. In the foreign exchange market, the rupee edged higher against the dollar. The government is scheduled to release index of industrial growth for November and consumer price inflation for December later today. Global cues are mixed today. European markets were marginally in green in early trade while Asian markets closed mixed with the Shanghai falling 1.7 percent.