NEW YORK (AP) -- Stocks recovered from a broad decline to end mixed on Thursday, a day ahead of a key jobs report.
The market fell from the start, then drifted between gains and losses for much of the afternoon. Yields on Treasury bonds rose again, and the price of oil climbed past $50 a barrel for the first time since June.
By the end of trading, seven of the 11 sectors of the Standard and Poor's 500 index rose, led by suppliers of basic materials. Health care companies and phone companies led the decliners.
The S&P 500 inched up 1.04 points, or 0.05 percent, to 2,160.77. The Dow Jones industrial average fell 12.53 points, less than 0.1 percent, to 18,268.50. The Nasdaq composite slipped 9.17 points, or 0.2 percent, to 5,306.85.
A report showing a low number of Americans seeking jobless benefits last week added to recent data suggesting that the economy is strengthening and that the Federal Reserve is likely to raise interest rates soon. Super-low rates have helped fuel the seven-year bull market.
Investors reacted just as they did to solid numbers on the manufacturing and service sectors earlier in the week: They sold Treasury bonds, sending yields up. The yield on the 10-year note rose to 1.74 percent from 1.71 percent on Wednesday, and is now up nearly two tenths of a point in a week, a big move.
Still, stocks investors generally showed little conviction, with none of the industry groups of the S&P 500 moving more than 0.8 percent in either direction.
"Interest rates, presidential elections ... there is a lot of uncertainty," said Jonathan D. Corpina, senior managing partner at Meridian Equity Partners. "Portfolio managers are still waiting to see how to position themselves."
On Friday, investors will get a clue on how quickly rates may rise when a report on the number of jobs created last month is released.
In stocks making moves on Thursday, Twitter plunged $5, or 20 percent, to $19.87 on reports that some companies that were believed to be interested in buying it will not. Rumors of a deal had sent Twitter up 33 percent in the 11 trading days through Wednesday.
Mylan slumped $1.19, or 3 percent, to $36.84 following reports the company overcharged Medicaid over five years for its EpiPen allergy treatment.
Wal-Mart fell $2.31, or 3.2 percent, to $69.36 after the world's largest retailer said it expects no earnings per share growth in its next fiscal year and will slow its store expansion plans.
Investors will turn their attention to the start of corporate earnings next week. Companies in the S&P 500 are expected to report that earnings per share fell 2 percent in the third quarter compared to the year earlier period, according to FactSet, a data provider. That would mark the sixth quarter in a row in declines.
That is a remarkable development given that stocks are near record highs, though many investors expect this so-called earnings recession to end in the fourth quarter this year.
James Abate, chief investment officer of Centre Asset Management, is not one of them.
"The stock market is increasingly becoming detached from the underlying trend in earnings," he said. Investors, he added, are far too optimistic.
In currency markets on Thursday, the dollar continued its climb. It rose to 104.14 yen, its highest level in a month, from 103.64 yen. The euro slipped to $1.1141 from $1.1212.
In European trading, Germany's DAX and France's CAC-40 each shed 0.2 percent. Britain's FTSE 100 slipped 0.5 percent.
The British pound continued to drop on concerns that the country is moving ahead with its decision to the leave the European Union and could exit the bloc's tariff-free single market. The pound fell 0.8 percent to $1.2608, its lowest level since the June 23 vote to leave the EU.
U.S. benchmark crude oil rose 61 cents to close at $50.44 a barrel in the New York, its first close above $50 a barrel since June 23.
Brent crude, the international standard, rose 65 cents to close at $52.51 a barrel in London. Wholesale gasoline edged up less than 1 cent to $1.50 a gallon, heating oil rose 1 cent to $1.60 a gallon and natural gas rose less than 1 cent to $3.05 per 1,000 cubic feet.
The price of gold slumped $15.60 to $1,253 an ounce, silver fell 35 cents to $17.35 an ounce and copper lost 1 cent to $2.16 a pound.