Toronto stocks ended a three-day losing streak Friday as gains by resource and consumer issues offset worries over the outlook for the global economy.

The S&P/TSX composite index closed up 2.28 points, or 0.02%, at 12,816.42 with four of its 10 main sectors on the upside.

For the week, the benchmark index tumbled 7% over concerns that slowing global growth will curtail demand for commodities.

Earlier in the session, the index fell more than 2% after a U.S. government report showed the U.S. unemployment rate soared last month.

But the materials and consumer sectors bounced back in the late afternoon, as bargain-hunters emerged, while a drop in oil prices eased worries over consumer spending.

The heavyweight energy and materials sectors ended up 0.4% and 1.8%, respectively.

Canadian Natural Resources rose 3.1% to $83.33, and Teck Cominco climbed 3.2% to $39.79.

Fertilizer firm Potash Corp of Saskatchewan was the biggest gainer by weight, rising 7.5% to $172.35.

The $1.66 drop in oil to US$106.23 a barrel buoyed consumer stocks that have been hurt by fears of decreasing spending.

The consumer staples group added 1.1%. Metro Inc was up 7.5% at $28.55.

The junior S&P/TSX Venture composite index fell 17.32 points, or 0.95%, to 1,812.11.

The Canadian dollar gained 0.55 of cent to close at US94.05¢, after Statistics Canada reported that the Canadian economy added 15,000 jobs during August.

In New York, U.S. stocks pared losses as bargain-hunting investors bought up shares in the beaten-down financial sector.

The Dow Jones industrial average was up 32.73 points, or 0.29%, to 11,220.96, and the S&P 500 was up 5.48 points, or 0.44%, to 1,242.31.

The tech-heavy Nasdaq composite index shed 3.16 points, or 0.14%, to 2,255.88.

For the week, the Dow ended down 2.8%, the S&P fell 3.2%, and the Nasdaq fell 4.7%.