Toronto stocks closed lower today as profit-takers cashed in recent gains among energy issues and sold off tech stocks despite upbeat news from the U.S.

The S&P/TSX composite Index slid 56.10 points to 8,398.05. The losses were across the board, with all of the TSX sub-indexes falling into negative territory.

Financial stocks fared somewhat better than the rest, sliding just 0.23%, while seven of the 13 sub-indexes fell more than 1%.

EnCana Corp. fell $1.17, or nearly 2%, to $59.21, while Canadian Natural Resources slid 85¢, or 2%, to $41.80.

The junior S&P/TSX Venture composite index closed lower,too. It fell 2.40 points to 1,509.59.

Only the Canadian dollar did well today. It added 0.33 of a cent to US75.91¢.

Stocks fared better in the U.S., where technology stocks rebounded after wireless company Qualcomm Inc. posted a profit and raised its forecast.

The Dow Jones industrial average finished ahead 4.20 points at 10,050.33. The S&P 500 rose 2.96 points to 1,096.84, and the tech-heavy Nasdaq composite index climbed 14.69 points to 1,889.06.

After the bell, Microsoft Corp. reported that its earnings rose nearly 82% in the fiscal fourth quarter. But the latest quarter’s results were short of analysts’ expectations and the stock fell in after-hours trading.