Strong performances by health-care stocks, particularly those dealing with medicinal cannabis, propelled stock markets to new all-time peaks in this country.
The S&P/TSX Composite Index added 18.82 points to Wednesday's record close to end Thursday at 16,221.95
The Canadian dollar gained 0.47 cents to 79.52 cents U.S.
Health-care stocks scored big time, with Canopy Growth up $2.42, or 8.7%, to $30.19. The stock was adding to gains it made on Wednesday after a ruling by regulators that boosted the shares of marijuana companies.
Rival Aphria vaulted 98 cents, or 5.8%, to $17.88.
In the energy sector, Suncor acquired 25 cents to $46.07, while Imperial Oil gained 30 cents to $39.12.
Tech stocks also came out in the green, with BlackBerry ahead three cents to $14.23, while Open Text rose $2.88, or 6.9%, to $44.65, after S&P Dow Jones Indices announced after the bell on Wednesday that the stock will be added to the S&P/TSX 60, 60 Capped and 60 Equal Weight Indices to replace Agrium Inc.
Gold stocks weighed most among the sectors losing strength, as Barrick Gold docking 15 cents to $18.17, and Kinross Gold losing three cents to $5.41.
The industrials group fell, with Waste Connections declining 92 cents, or 1% to $88.91. Bombardier fell two cents to $3.01.
The TSX Venture Exchange popped 15.52 points, or 1.9%, to 842.24
Seven of the 12 TSX subgroups remained in the red Thursday, as gold fell 0.8%, while industrials tailed off 0.5%, and materials doffed 0.3%.
The five gainers were led by health-care, soaring 2.8%, energy gushing 0.8%, and information technology picking up 0.7%
The Dow Jones Industrial Average led the major indexes higher Thursday, notching a record close on the second-to-last trading day of the year. It was the Dow's 71st record close for the year.
The blue-chip index gained 63.21 points to close at 24,837.51, with UnitedHealth and IBM contributing the most to the gains.
As of Thursday's close, the Dow was on pace for slight weekly gains. The last time the Dow rose in each of the final six full weeks of the year was in 1954. That does not include weeks encompassing two different years.
The S&P 500 increased 4.92 points to 2,687.54, with advances in utilities and telecommunications. The index closed within 0.5% of its all-time highs hit on Dec. 18.
The S&P was also tracking for weekly gains as of Thursday's close. The index would close out the year with six straight weeks of higher trade for the first time the since in 1971. The S&P has rallied nearly 20% this year.
The NASDAQ composite index tacked on 10.82 points to 6,950.16, as gains in big technology companies like Apple and Facebook offset declines in biotechnology stocks like Gilead and Amgen. The index is less than 1% away from its all-time high.
Information technology is the top-performing sector in the S&P 500 this year, up 38% since January.
On a monthly basis, the indexes are tracking for gains not seen in decades. The Dow is on pace for its first nine-month winning streak since 1959 and the S&P is on track for its first nine-month winning streak since 1983.
If the NASDAQ composite finishes December higher, it will have posted gains in 11 of 12 months in 2017, a first for the tech-heavy index.
In economic news, the advance trade deficit in goods increased to $69.7 billion in November from $68.1 billion in October. Weekly jobless claims came in at 245,000 versus expectations of 240,000.
The Chicago Purchasing Managers Index for December rose to 67.6, that index's highest since March 2011
Prices for the benchmark 10-year Treasury note fell, raising yields to 2.43% from Wednesday's 2.41%. Treasury prices and yields move in opposite directions.
Oil prices dropped 27 cents a barrel to $59.91 U.S.
Gold prices gained $5.60 to $1,297.00 U.S. an ounce.