Oil pump jacks at sunset sky background.

Canada’s main stock index rose Tuesday as the energy sector got a boost from the country’s largest oil producers who say they’re talking with the Alberta government to increase their quotas if they ship the output by rail.

The S&P/TSX composite index closed up 82.26 points at 16,545.21.

In New York, the Dow Jones industrial average was down 22.65 points at 26,783.49. The S&P 500 index was up 3.68 points at 2,979.63, while the Nasdaq composite was up 43.35 points at 8,141,73.

The Canadian dollar traded for an average of US76.18¢ compared with an average of US76.45¢ on Monday.

The August crude contract was up US17¢ at US$57.83 per barrel and the August natural gas contract was up US2.2¢ at US$2.42 per mmBTU.

The August gold contract was up US50¢ at US$1,400.50 an ounce and the September copper contract was down US3.4¢ at US$2.62 a pound.