U.S. stocks closed another record-setting week with a muted performance Friday, as hope built on Wall Street that the U.S. economy can manage the rare feat of suppressing high inflation without causing a recession.

The S&P 500 edged down by 0.1% from its all-time high set the day before, its 42nd of the year so far. The Dow Jones industrial average rose 137 points, or 0.3%, to set its own record, while the Nasdaq composite slipped 0.4%.

Treasury yields eased in the bond market after a report showed inflation slowed in August by a bit more than economists expected.

On Wall Street, Costco Wholesale fell 1.8% after delivering weaker revenue in the latest quarter than analysts expected. That was even though its profit topped expectations.

Ski-resort operator Vail Resorts, sank 3.9% after reporting a larger loss for the latest quarter than analysts expected.

On the winning side of Wall Street, Bristol-Myers Squibb rose 1.6% after receiving U.S. federal approval for its new approach to treat schizophrenia in adults.

Trump Media & Technology Group climbed 5.5% following the first disclosure of a major investor selling its shares now that a restriction for insiders has lifted.

All told, the S&P 500 slipped 7.20 points to 5,738.17, but it still closed out a third straight winning week and its sixth in the last seven. The Dow rose 137.89 to 42,313.00, and the Nasdaq composite lost 70.70 to 18,119.59.

Markets overseas made bigger moves, as stocks in Shanghai rallied 2.9% to close their best week since 2008. Hong Kong’s Hang Seng jumped 3.6% to cap its best week since 1998.

In the bond market, the yield on the 10-year U.S. Treasury eased to 3.75% from 3.80% late Thursday.

The two-year Treasury yield, which moves more closely with expectations for what the Fed will do with short-term rates, fell to 3.56% from 3.63%.

— Associated Press