TORONTO -- The Toronto stock market closed the session higher, helped by energy and mining stocks, while U.S. markets gave back a bit of the enthusiastic gains of recent sessions.

The S&P/TSX composite was up 30.12 points at 12,830.03, while the TSX Venture Exchange rose 4.54 points to 1,116.61.

The Canadian dollar was up 0.29 of a cent at 98.11 cents US, backing off a three-week high of 98.22 reached in the morning.

After eight record high sessions and 10 consecutive days of gains, the Dow industrials gave back some of that on mixed economic data, dropping 25.03 points to 14,514.11.

The Nasdaq was down 9.86 points at 3,249.07 and the S&P 500 index slid 2.53 points to 1,560.70.

In commodities, the April crude contract on the New York Mercantile Exchange added 42 cents to close at US$93.45 a barrel, while April bullion gained $1.90 to US$1,592.60 an ounce.