The Canadian stock market ended lower on Wednesday, led by losses in consumer staples, healthcare and industrials sections. Energy stocks ended on a mixed note. The materials section saw some buying thanks to higher gold prices.