Energy and mining stocks led a solid advance on the Toronto stock market, while the Nasdaq finished the day at a record high.

The S&P/TSX composite index closed up 87.58 points at 15,392.35 after dropping 41.67 points Wednesday.

Meanwhile, the Canadian dollar gained 0.55 of a U.S. cent to 82.33 cents.

In New York, the Nasdaq rose 20.89 points to 5,056.06, beating its previous record high close of 5,048.61 set in March 2000. The Dow gained 20.42 points to 18,058.69 and the S&P 500 advanced 4.97 points to 2,112.93.

On the commodity markets, the June gold contract rose $7.40 to US$1,194.30 an ounce after plunging more than $16 on Wednesday.

Meanwhile, oil rose $1.58 to $57.74 a barrel and May copper advanced 2.9 cents to US$2.69 a pound.