The U.S. stock market set another round of record highs on Friday as Wall Street looked past disappointing results from major companies to wrap up its best month of the year.

The S&P 500 rose 0.19% to close at 4,605.38 and the Dow Jones Industrial Average added 89.08 points, or 0.25%, to finish at 35,819.56. The Nasdaq Composite rose 0.33% to close at 15,498.39. All three closed at record highs, and the S&P 500 and Nasdaq clinched their best months since November 2020.