Energy drags Wall St. lower; S&P down slightly in August

NEW YORK (Reuters) - Stocks ended lower on Wall Street on Wednesday, as energy shares tracked oil prices lower, and the S&P posted a loss for August, the first negative month for the benchmark index since February.

The Nasdaq gained 1 percent in August and the S&P shed 0.1 percent, speaking to stocks' resiliency after the S&P hit an all-time high mid-month. It ended Wednesday within 1 percent of its record close.

The energy sector of the S&P 500 <.SPNY> ended 1.4 percent lower on Wednesday, its largest daily decline in three weeks, as U.S. crude futures <CLc1> fell more than 3 percent.

Data earlier showed the private sector created 177,000 jobs in August, in line with expectations, and contracts to buy previously owned homes surged in July, suggesting the economy was regaining sufficient momentum for the Federal Reserve to raise interest rates this year.

The strong numbers sharpened the focus on Friday's payrolls report.

"If we get another strong number, that's going to tell you the (Fed) has to raise rates in September all things being equal," said Kim Forrest, senior equity research analyst at Fort Pitt Capital Group in Pittsburgh. "They telegraphed this in the last week, explicitly."

Strong economic data and comment from central bank officials have increased bets that the Fed will raise rates at least once before the end of the year. This has created a shift in stock market leadership, away from defensive, high-yielding sectors and into cyclicals like industrials and technology.

The Dow Jones industrial average <.DJI> fell 53.42 points, or 0.29 percent, to 18,400.88, the S&P 500 <.SPX> lost 5.17 points, or 0.24 percent, to 2,170.95 and the Nasdaq Composite <.IXIC> dropped 9.77 points, or 0.19 percent, to 5,213.22.

About 6.82 billion shares changed hands in U.S. exchanges, compared with the 5.98 billion daily average over the last 20 sessions.