* TSX ends up 1.71 points, or 0.01 percent, at 16,133.35
* Seven of the TSX's 10 main groups move higher
* Decliners just outnumber advancers overall
By Alastair Sharp
TORONTO, Dec 19 (Reuters) - Canada's main stock index made a small gain on Tuesday, boosted by a surge in Great Canadian Gaming Corp GC.TO after it won a gaming contract and helped by rises among some miners, major banks and other financial stocks.
* The Toronto Stock Exchange's S&P/TSX composite index .GSPTSE finished up just 1.71 points, or 0.01 percent, at 16,133.35, losing steam in afternoon trade after a broad rally had pushed it close to the all-time high hit the prior session.
* Seven of its 10 main groups ended higher, although there were slightly more decliners than advancers overall.
* Great Canadian Gaming jumped 15.0 percent to C$34.37 after it and Clairvest Group Inc CVG.TO said they had won a contract to operate gaming venues in the Toronto area. Both the materials group, which includes precious and base metals miners and fertilizer companies, and the energy group added 0.2 percent, while financials group gained 0.1 percent. Those three sector combine to account for almost two-thirds of the index's weight.
* Canadian Imperial Bank of Commerce CM.TO rose 1 percent to C$121.65, while insurer Manulife Financial Corp MFC.TO added 0.5 percent to C$26.82.
* Sandstorm Gold Ltd SSL.TO rose 0.8 percent to C$6 after agreeing to buy a royalty stake in a mine in Burkina Faso.