NEW YORK (AP) — Stocks mostly gained ground in mixed trading on Wall Street Friday as companies continued reporting mostly solid earnings. The S&P 500 rose 0.5% in afternoon trading Friday.

The index was nearly evenly split between gainers and losers. It is on track to log its first losing week since early September The Dow Jones Industrial Average fell 72 points, or 0.2%, to 42,302, as of 12:41 p.

m. Eastern. The Nasdaq composite rose 1.

3%. Both the S&P 500 and the Dow have been generally falling back from record highs set late last week. The market has been more cautious amid worries that stocks have become too expensive.

Higher Treasury yields, which make stocks less appealing to investors, also added more pressure. Earnings have been a key focus for investors this week. The latest round of corporate profit reports could give Wall Street a better sense of whether the high stock prices are justified.

Capital One Financial jumped 6.9% after beating Wall Street’s third-quarter financial forecasts. Ugg footwear maker Deckers Outdoor rose 10.

4% after raising its financial forecast for the year. Strong earnings drove gains for several other companies. Technology companies L3Harris Technologies rose 3.

7% and Western Digital rose 7.1%. More than a third of companies in the S&P 500 index have reported their latest quarterly financial results.

Most of the results have beat analysts' forecasts. Outside of earnings, Spirit Airlines jumped 21.1% after the struggling budget airline s.