Stocks end mostly higher, but still log another losing week

A late-afternoon recovery in technology stocks helped erase most of the market’s losses Friday, but it wasn’t enough to keep major indexes from logging their second losing week in a row. The S&P 500 snuck back into the green in the last few minutes of trading, ending with a gain of 0.1%. The tech-heavy Nasdaq added 0.6% and the Dow Jones Industrial Average lost 0.6%. Banks fell. JPMorgan Chase fell 6.1% after reporting that its profits fell 14% in the latest quarter. Traders were also disappointed to see that retail sales sank 1.9% last month.