A sluggish day for stocks kept September on track to be the worst month of the year for Wall Street.
The S&P 500 managed a gain of 0.4 percent, coming off its worst week in six months. The Dow edged up 43 points and the Nasdaq composite added 0.5 percent. Treasury yields rose again to near their highest levels in more than a decade.
Stocks have struggled recently as the realization sinks in that the Federal Reserve will likely keep interest rates high well into next year. The Fed wants to ensure inflation gets back down to its target.
The S&P 500 rose 17.38 points, or 0.4 percent, to 4,337.44.
The Dow Jones Industrial Average rose 43.04 points, or 0.1 percent, to 34,006.88.
The Nasdaq composite rose 59.51 points, or 0.5 percent, to 13,271.32.
The Russell 2000 index of smaller companies rose 7.74 points, or 0.4 percent to 1,784.24.
For the year:
The S&P 500 is up 497.94 points, or 13 percent.
The Dow is up 859.63 points, or 2.6 percent.
The Nasdaq is up 2,804.84 points, or 26.8 percent.
The Russell 2000 is up 22.99 points, or 1.3 percent.