Stocks turned in a mixed finish on Wall Street as big gains by technology companies were offset by losses in health care, communications services and other sectors and more in Thursday’s Stock Market Update.

Earnings reports in the last couple of weeks, representing roughly a third of companies in the S&P 500, have mostly exceeded Wall Street analysts’ modest expectations. However, many companies that delivered improved results for the third quarter have also issued disappointing profit outlooks.

“What we would have needed to see for the market to be really cheering this (earnings) story is if companies were beating and then raising forward expectations,” said Rob Haworth, senior investment strategist at U.S. Bank Wealth Management. “But you’re not seeing that very consistently.”

Solid quarterly report cards from Microsoft, PayPal and Lam Research helped technology stocks march higher Thursday. Microsoft rose 1.9%, PayPal climbed 8.5% and Lam Research surged 13.9%.

The tech sector, already the biggest gainer this year, almost singlehandedly accounted for the market’s gains.

Communication companies fared the worst. Twitter plunged 20.8% after reporting weak results.

Traders also cheered encouraging results from several retailers, including O’Reilly Automotive. The auto parts seller jumped 9.1% after it delivered better-than-expected results for the third quarter. It also raised its profit forecast.

Shares in several companies also fell after they posted mixed results or lackluster profit outlooks: Ford slumped 6.6%, 3M lost 4%, eBay tumbled 9.1% and Stanley Black & Decker dropped 4.7%.

Bond prices were little changed. The yield on the 10-year Treasury rose slightly to 1.77%.

STOCK MARKET UPDATE

KEEPING SCORE: The S&P 500 rose 5 points, or 0.2%, to 3,010. The Dow Jones Industrial Average fell 28 points, or 0.1%, to 26,805. The Nasdaq rose 66 points, or 0.8%, to 8,185.

European markets closed broadly higher.

EARNINGS SCORECARD: One-third of companies within the S&P 500 have reported their latest financial results and have so far eased investor concerns about a sharp contraction. Companies within the index reported just over a 1.2% drop in profit overall, according to FactSet. That is currently much better than initial expectations for a more than 4% contraction.

INJURED BIRD: Twitter dove 20.8% after reporting disappointing third quarter profit and revenue. The social media company blamed some of its problems in the most recent quarter on bugs related to its advertising platform. It also gave investors a weak revenue forecast for the fourth quarter.

CHARGING AHEAD: Tesla surged 17.6% after the electric car maker surprised Wall Street with a solid profit. Analysts expected the company to report another loss as it struggles to increase sales. The company took several cost-cutting measures, including layoffs, during the quarter.

GAINING ALTITUDE: Solid profits helped lift American Airlines 3.9% and push Southwest Airlines 5.7% higher. American Airlines beat Wall Street profit forecasts thanks in part to lower prices for jet fuel.

Southwest Airlines overcame the grounding of its Boeing 737 Max jets to beat analysts’ profit forecasts. It reported strong travel demand and rising ticket prices.

© The Associated Press. All rights reserved.