TORONTO — Canada's main stock index gained nearly 150 points on Wednesday, while U.S. markets also surged higher along with oil prices.