The stock market advanced for a fourth straight day Thursday, pushing the Standard & Poor's 500 index to a record high.
Investors were encouraged by news that the number of people seeking unemployment benefits remains at a multi-year low.
The S&P 500 rose 5.87 points, or 0.3 percent, to 1,992.37, four points above the record close the index set on July 24.
The Dow Jones industrial average rose 60.36 points, or 0.4 percent, to 17,039.49. It was the Dow's first close above 17,000 since July 24. The Nasdaq composite rose 5.62 points, or 0.1 percent, to 4,532.10.
Hewlett-Packard was the biggest gainer among the major indexes. The technology giant rose $1.88, or 5.4 percent, to $37.00 after reporting better-than-expected results and its first sales increase in nearly three years. HP has been undergoing a multi-year restructuring under CEO Meg Whitman, who has laid off employees and cut back businesses that aren't profitable.
Stocks opened higher and remained there throughout the day, although buying did pick up in the last hour of trading. Investors were encouraged by a report from the Department of Labor that claims for unemployment benefits, a proxy for the number of people who recently lost their jobs and are looking for work, fell by 14,000 last week to 298,000. The less-volatile four-week average was 300,750, below the average before the Great Recession.
Stocks have been rising steadily all month, due to better economic data and a cooling of tensions in Ukraine, Gaza and Iraq. The S&P 500 is on pace to have its best month since February.
"We've have been able to breathe a sigh of relief that those worst-case scenarios have been avoided, at least for the time being," said Ryan Larson, head of equity trading with RBC Global Asset Management.
Investors now turn to Friday, when Fed Chair
Yellen's speech will come two days after the minutes from the Fed's July meeting showed that a majority of the central bank's policymakers believe the U.S. economy is improving enough for the bank to start raising interest rates sooner than previously thought. The debate on when the Fed should begin increasing rates, which have been near zero since 2008, has intensified in recent months as the Fed winds down its other economic stimulus.
Overall, it's been a quiet week for the market. Volumes are low as many Wall Street workers try to fit in their vacations before trading picks up after Labor Day. Thursday was the 10th-slowest trading day of the year and Wednesday was the fifth-slowest.
Benchmark U.S. crude for October delivery rose 51 cents to $93.96 a barrel in New York. In metals trading, gold fell $19.80 to $1,275.40 an ounce, silver fell eight cents to $19.42 an ounce and copper was little changed at $3.18 a pound.
The yield on the 10-year Treasury note dipped to 2.41 percent from 2.43 percent the day before.
In individual companies: