TORONTO — Canada's main stock index ended Tuesday narrowly in the red, weighed down by losses in energy and base metals stocks, while U.S. markets moved higher. The S&P/TSX composite index closed down 5.21 points at 25,405.14.