At 10:05 a.m. EDT (1405 GMT), the Toronto Stock Exchange’s S&P/TSX composite index was up 80.28 points, or 0.55 percent, to 14,609.06. It was on track for a marginal gain on the week.

Eight of the index’s 10 main groups were in positive territory, with its resource sectors weighing.

Canadian National Railway Co advanced 1.8 percent to C$81.88 and rival Canadian Pacific Railway Ltd advanced 2.2 percent to C$190.77.

Canada’s trade gap unexpectedly widened to a record deficit in June as imports of motor vehicles and parts jumped, while the economy also surprisingly shed 31,200 jobs last month.

Data showed that U.S. employment increased more than expected in July and wages picked up, which should bolster expectations of an acceleration in economic growth in Canada’s largest trading partner and a rate increase by the U.S. Federal Reserve.

Sierra Wireless Inc tumbled 15 percent to C$19.05 as a string of analysts cut their price targets on the stock after the company lowered its full-year outlook. (Reporting by Alastair Sharp; Editing by Jeffrey Benkoe)