close up image of stock market data on a computer

Canada’s main stock index eked out a small gain despite a losing day for the cannabis sector, while U.S. stock markets headed lower.

The S&P/TSX composite index ended up 9.62 points at 15,712.31.

In New York, the Dow Jones industrial average was down 21.22 points at 25,390.30. The S&P 500 index was down 6.09 points at 2,731.61, while the Nasdaq composite was down 26.80 points at 7,375.28.

The Canadian dollar traded at an average of US75.82¢ compared with an average of US76.14¢ on Tuesday.

The March crude contract was up US35¢ at US$54.01 per barrel and the March natural gas contract was unchanged at US$2.66 per mmBTU.

The April gold contract was down US$4.80 at US$1,314.40 an ounce and the March copper contract was up US1.95¢ at US$2.84 a pound.