The major U.S. stock indexes finished mixed Thursday after partially recovering from midday losses.

The latest gains barely kept winning streaks alive for the Standard & Poor’s 500 index and the Dow Jones industrial average. Both indexes also set new highs. Health care stocks posted some of the biggest gains, offsetting losses by technology companies, which dragged the Nasdaq lower.

On Thursday:

The S&P 500 index rose 0.84 points, or 0.03 percent, to 2,562.10.

The Dow added 5.44 points, or 0.02 percent, to 23,163.04.

The Nasdaq composite slid 19.15 points, or 0.3 percent, to 6,605.07.

The Russell 2000 index of smaller-company stocks gave up 3.10 points, or 0.2 percent, to 1,502.04.

For the week:

The S&P 500 is up 8.93 points, or 0.4 percent.

The Dow is up 291.32 points, or 1.3 percent.

The Nasdaq is down 0.73 points, or 0.01 percent.

The Russell 2000 is down 0.61 points, or 0.04 percent.

For the year:

The S&P 500 is up 323.27 points, or 14.4 percent.

The Dow is up 3,400.44 points, or 17.2 percent.

The Nasdaq is up 1,221.95 points, or 22.7 percent.

The Russell 2000 is up 144.91 points, or 10.7 percent

Author photo
The Associated Press
The AP is one of the largest and most trusted sources of independent newsgathering. AP is neither privately owned nor government-funded; instead, as a not-for-profit news cooperative owned by its American newspaper and broadcast members, it can maintain its single-minded focus on newsgathering and its commitment to the highest standards of objective, accurate journalism.