Toronto stocks rallied Thursday, despite falling energy and resource prices, as investors continued to show optimism with the market.

The S&P/TSX composite index gained 117.57, or 0.84%, to 14,095.73, rebounding from Wednesday’s 146-point loss.

Nine of the 10 TSX main sub-groups were up.

The energy index gained 1.46%.

Light, sweet crude oil fell 21¢ to close US$68.65 a barrel

Paramount Energy Trust gained 11¢, or 0.91%, to $12.24.

The materials index moved up 1.35%, while the gold sub-index gained 1.29%.

Gold for August delivery closed down $5.80 to US$654.20 an ounce.

Barrick Gold Corp. gained 47¢, or 1.50%, to $31.74.

Financials lost 0.11%.

Manulife Financial Corp. gained 6¢, or 0.15%, $39.50.

The Canadian dollar fell 0.67 of a cent to US93.05¢.

The S&P/TSX Venture composite index gained 16.97 points, or 0.52%, to 3,251.36.

In New York, markets moved up on lower energy prices and despite continued concerns over rising long-term bond yields.

The Dow Jones industrial average gained 56.42, or 0.42%, to 13,545.84, the Nasdaq moved up 17, or 0.65%, to 2,616.96, and the S&P500 advanced 9.35, or 0.62%, to 1,522.19.