TORONTO — Canada's main stock index gained almost 200 points Friday as markets broadly rose to end a rocky trading week. The S&P/TSX composite index closed up 185.54 points at 24,599.48. In New York, the Dow Jones industrial average was up 498.