NEW YORK, June 7 — US stocks ended slightly higher on Monday with gains in and other mega-cap growth shares offset by persistent worries over inflation.

Shares of Inc AMZN.O rose in the stock’s first day of trading after adjusting to a 20-for-1 split.

A solid jobs report on Friday lowered hopes of a pause in the Federal Reserve’s aggressive policy-tightening plan.

Investors are keeping a close eye on inflation data, with a US consumer price index report on Friday expected to show still-high inflation. US Treasury yields rose on Monday.

“There’s been a push-pull in the markets now for a while,” said Paul Nolte, portfolio manager at Kingsview Investment Management in Chicago.

The jobs report was evidence that “the economy is still in OK shape,” he said. But “with inflation running kind of high and commodity prices still rising and putting in new all-time highs, maybe that peak of inflation is still in that ethereal future.” Helping sentiment were easing regulatory crackdowns in China and signs in parts of China of a return to more normal activity after the country’s biggest Covid-19 outbreak in two years.

According to preliminary data, the S&P 500 .SPX gained 12.38 points, or 0.30 per cent, to end at 4,120.92 points, while the Nasdaq Composite .IXIC gained 53.25 points, or 0.44 per cent, to 12,059.82. The Dow Jones Industrial Average .DJI rose 21.75 points, or 0.07 per cent, to 32,921.45.

Twitter Inc TWTR.N shares slipped after billionaire Elon Musk said he might walk away from his buyout offer if the social media company fails to provide data on spam and fake accounts.

Didi Global Inc DIDI.N jumped after a report that Chinese regulators were preparing as early as this week to allow the ride-hailing firm’s mobile app back on domestic app stores. — Reuters