The TSX Composite Index gained 38.86 points to conclude Wednesday at 24,106.79.Gold stocks, led by Iamgold and Torex Gold, were the key gainers.In contrast, industrials, information technology, and consumer discretionary stocks declined.On Wall Street, stocks fell sharply due to a warning from Nvidia and concerns about the economic impact of tariffs.