The Toronto Stock Exchange set a new record high close on Tuesday, getting a lift from mining stocks.

The S&P/TSX composite index closed up 16.64 points, or 0.1%, at 13,183.33, surpassing the previous record high close of 13,166.69 set on Monday.

Overall, six of 10 the TSX main groups were higher, led by a 0.9% gain in the resource-laden materials sector.

Teck Cominco Ltd. climbed $1.21¢, or 1.4%, to$85.36, while shares of Novelis Inc. rose $2.31, or 5.3%, to$45.95 on takeover speculation.

The energy sector began on a strong note but quickly reversed course and ended down 0.3%, despite a rise in crude oil prices, which hovered near US$59 a barrel as cold U.S. weather prompted expectations for more heating oil demand.

Suncor Energy fell 87¢, or 1%, to $86.67, while shares of Husky Energy Inc. rose 45¢, or 0.6%, to $76.30.

Petro-Canada shares were down 25¢ to $46.39 after the company decided not to sell five oil sands properties after potential buyers’ offers fell short of expectations.

The information-technology sector moved down 0.55%. Nortel Networks shares fell 63¢ to $30.70 after it said Peter Currie is quitting as chief financial officer, effective April 30.

The junior S&P/TSX Venture composite index jumped 15.82 points, or 0.53%, to finish at 2,990.62.

The Canadian dollar was down 0.01 of a cent to US84.55 cents.

In New York, U.S. markets ended marginally higher after oil prices backed off a session high near $60 a barrel.

The Dow Jones industrial average rose 4.57 points, or 0.04%, to end at 12,666.31, while the S&P 500 Index added 1.01 points, or 0.07%, to reach 1,448.00. The Nasdaq composite index eked out a gain of 0.89 of a point, or 0.04%, to 2,471.49.