Stocks increased for a fourth day in a row as more economic data showed moderation, supporting predictions that the Federal Reserve is nearing the end of its interest rate hikes.

The S&P 500 reached 4,500. Megacap advances were led by Apple, while regional banks were down. In an effort to strengthen supervision, the Fed sent numerous confidential warnings to lenders with assets between $100 billion and $250 billion. Treasury yields decreased a bit. A further quarter-point hike in US rates this year is priced into swap contracts with a probability of less than 50%.

Despite the more moderate business investment, the US gross domestic product increased at a revised 2.1% annualised pace in the second quarter, which was less than the government's initial projection. According to data released by the ADP Research Institute in association with Stanford Digital Economy Lab, American businesses created the fewest new jobs in the previous five months.

In other countries, the euro increased as inflation increased in Spain and sped up in Germany, providing European Central Bank officials with a partial picture of the region's pricing pressures as they decide whether to increase interest rates once more. Oil increased little as the market accepted a significant reduction in US oil stocks.