The Toronto Stock Exchange's main index was relatively flat as gains in lumber operations were offset by losses in marijuana companies.
The S&P/TSX composite index gained 21.24 points to 16,308.18.
"It's basically being pulled at two sides," said Ian Scott, an equity analyst at Manulife Asset Management.
"It's basically like trees versus weeds today."
West Fraser Timber Co. (TSX:WFT) shares jumped 5.38 per cent or $4.33 to $84.83 after RBC upgraded West Fraser from under-perform to sector-perform, he said, removing the final under-perform rating for the company.
That bump permeated throughout the industry, Scott said. Interfor Corp. (TSX:IFP) and Canfor Copr. (TSX:CFP) also both gained more than five per cent.
But the boost from the materials sector was offset by a fall in health care. Shares in the sector shed more than six per cent on average, with two marijuana companies being the index's biggest losers of the day.
Canopy Growth Corp. (TSX:WEED) shares dropped 13.87 per cent or $5.21 to $32.35, while Aphria Inc. (TSX:APH) shares fell 12.31 per cent or $2.53 to $18.02.
Volatility is the name of the game in the marijuana sector now, Scott said.
"Any time a stock climbs over 40 per cent in six days with no news flow, you should be prepared to see some profits taken," he said.
Canopy Growth shares closed at $29.74 on Dec. 29 and hit a 2018 high of $42.07 on Jan. 9 — a 41.46 per cent increase.
On Wall Street, all three indices reached a second consecutive day of record highs.
The Dow Jones industrial average rose 228.46 points to 25,803.19, the S&P 500 index advanced 18.68 points to 2,786.24 and the Nasdaq composite index moved up 49.28 points to 7,261.06.
The Canadian dollar closed at an average trading value of 79.97 cents US, up 0.19 of a U.S. cent.
The February crude contract advanced 50 cents to US$64.30 per barrel and the February natural gas contract rose 11.6 cents to US$3.20 mmBTU.
The February gold contract gained US$12.40 to US$1,334.90 an ounce and the March copper contract shed roughly 1.5 cents to about US$3.22 a pound.
Follow @AleksSagan on Twitter.
Aleksandra Sagan, The Canadian Press