Placeholder Stockmarket

Major U.S. stock indexes ended mixed Thursday after an early rally lost its strength toward the end of the day.

The S&P 500 managed to hold on to a tiny gain that extended its winning streak to a third day. The benchmark index, which is within 0.7% of its all-time high set July 26, ended the day slightly down for the week.

Gains in health care, technology, utilities and other sectors outweighed losses elsewhere in the market Thursday. Advancers outnumbered decliners on the New York Stock Exchange. Bond yields were little changed.

The market rallied in the early going as investors weighed a batch of encouraging economic reports. The positive data reinforces the outlook from the Federal Reserve, which projects slower economic growth, but not a recession.

On Wednesday, the Fed reduced its benchmark interest rate for the second time this year in a bid to keep the economy from stalling in the face of slowing economic growth overseas and uncertainty over the U.S.-China trade war.

The S&P 500 index rose 0.06 points, or less than 0.1%, to 3,006.79. The Dow Jones Industrial Average gave up an early gain, sliding 52.29 points, or 0.2%, to 27,094.79. The Russell 2000 index of smaller company stocks also relinquished an early gain, losing 6.87 points, or 0.4%, to 1,561.47.

The Nasdaq squeaked out a gain of 5.49 points, or 0.1%, to 8,182.88.

Bond prices were little changed. The yield on the 10-year Treasury held at 1.78%.