U.S. stocks finished mostly higher Friday as investors scooped up battered energy shares, and technology stocks extended their recent advance, helping the main indexes close out the week on a positive note.
The S&P 500 SPX, +0.16% rose 3.80 points, or 0.2%, to end at 2,438.30 with technology stocks up 0.7% and energy shares adding 0.8%.
The Dow Jones Industrial Average DJIA, -0.01% slipped 2.53 points to close at 21,394.76 in an up-and-down session. The tech-heavy Nasdaq Composite Index COMP, +0.46% advanced 28.56 points, or 0.5%, to finish at 6,265.25.
For the week, the S&P 500 posted a weekly gain of 0.2%, while the Dow industrials were mostly flat and the Nasdaq logged a 1.8% weekly climb.
The fact that oil prices held up well considering concerns about a continuing supply glut also helped to buoy the market, said Peter Cardillo, chief market economist at First Standard Financial Co.
U.S. oil futures CLQ7, +1.01% rose 27 cents, or 0.6%, to settle at $43.01 a barrel.
Bank shares were in focus after the Federal Reserve released the results of stress tests. Still, the Financial Select Sector SPDR exchange-traded fund XLF, -0.38% failed to get a lift, slipping 0.4%. The report from the Fed on the health of the banking sector KBE, -0.66% was released Thursday, and showed that all 34 banks assessed have “strong” levels of capital and would be able to keep lending even during a severe recession. The second set of results, an outline of which banks may return capital to investors, are due next week.
Health-care shares are marginally down following a rally Thursday. Republican senators released a health-care bill draft that includes cuts to Medicaid and the elimination of penalties for people who don’t buy health insurance.
“Today health-care stocks are giving back some of those gains as it looks less likely that the bill will get enough votes to pass the Senate given that four Republican senators have come out in opposition of the bill in its current form,” said Kristina Hooper, global market strategist at Invesco. “This is typical of the kind of market gyrations that are likely to be seen going forward in response to the changing fortunes of the Trump legislative agenda.”
Stocks had little reaction to flash purchasing managers index readings for June. IHS Markit said its services activity index fell to a three-month low of 53.0 from 53.6 in May, while the manufacturing PMI dropped to a nine-month low of 52.1 from 52.7 in May. A reading of more than 50 indicates an expansion in activity.
In other economic news, the Commerce Department said new-home sales ran at a 610,000 seasonally adjusted annual rate in May. Economists had forecast a rate of 590,000 versus 569,000 in April. See: MarketWatch’s economic calendar.
Fed speakers: St. Louis Fed President James Bullard, speaking at a convention in Nashville, said the Fed can afford to stop raising short-term interest rates and take a wait-and-see stance to see where the economy is headed and how policy debates in Washington play out in coming quarters.
Cleveland Fed President Loretta Mester, meanwhile, said the Fed must continue raising interest rates to avoid inflation getting out of hand and causing a recession, according to Reuters.
Separately, Fed Gov. Jerome Powell said at a symposium that the Fed may consider overhauling central clearing rules as the current system makes banks vulnerable to risks, Reuters reported.
Synchronoss Technologies Inc. shares SNCR, +33.33% surged 33% after the private-equity firm Siris Capital Group and its associates offered to purchase the cloud-services provider for $18 a share in cash.
Portola Pharmaceuticals Inc… PTLA, +46.56% jumped 47% on reports the pharmaceutical company received approval for a anticoagulant drug.
Stock markets in Asia finished mostly higher, with the Nikkei Stock Average NIK, +0.11% logging a modest gain. European stocks SXXP, -0.23% edged down. European Union leaders were meeting in Brussels on Friday, with Brexit a key topic one year after the U.K. voted to leave the bloc.