Toronto stocks retreated Tuesday, giving back after hitting an all-time high yesterday, as the broad market locked in gains and the energy sector stayed flat.

The S&P/TSX composite index fell 36.76, or 0.30%, to 12,174.10.

Nine of the 10 TSX main sub-groups were down, with the energy sector, posting a meager 0.02% gain, the only index in the black.

Crude for May delivery ended down 51¢ at US$66.23 on the New York Mercantile Exchange.

EnCana Corp. lost 15¢, or 0.23%, to US$66.25.

The materials sector lost 0.46%.

Gold for June delivery ended down $2.40 at US$591.90 an ounce on the New York Mercantile Exchange.

Barrick Gold Corp. lost 14¢, or 0.43%, to $32.47.

The industrials index lost 0.63%.

Bombardier Inc. lost 8¢, or 2.23%, to $3.50.

The Canadian dollar gained 0.73 of a cent to US86.04¢.

The S&P/TSX Venture Exchange index lost 4.95, or 0.17%, to 2,934.90.

In New York, stocks gained on investor optimism that upcoming first quarter corporate earnings news would be positive.

The Dow Jones industrial average rose 58.91 points to 11,203.85. The Nasdaq was up 8.62 points to 2,345.36, its best close since Feb. 2001. The S&P 500 Index added 8.12 points to 1,305.93.