MARKET SNAPSHOT: Stock Market Edges Higher As Tech, Energy Sectors Lead Gains

S&P 500's energy sector outperforms

U.S. stocks rose moderately Friday as investors scooped up battered energy shares, and technology stocks extended their recent advance, putting the main equity benchmarks on pace to end the week with gains.

Friday's trading will be framed by FTSE Russell's annual rebalancing of indexes, (http://www.marketwatch.com/story/what-russell-index-rebalancing-means-for-the-stock-market-2017-06-23) which is among the busier trading sessions of the year when investors adjust their stock portfolios in response to index reconfiguration.

The S&P 500 rose a point to 2,435 with technology stocks up 0.7% and energy shares adding 0.3%.

The Dow Jones Industrial Average flipped between small gains and losses to fall 24 points to 21,373. The tech-heavy Nasdaq Composite Index advanced 16 points, or 0.3%, to 6,263.

The Nasdaq was on course to rise more than 1% for the week, ending a two-week run of losses. The S&P 500 and the Dow industrials were on track for slight weekly gains.

The fact that oil prices held up well considering concerns about a continuing supply glut also helped to buoy the market, according to Peter Cardillo, chief market economist at First Standard Financial Co.

U.S. oil futures 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) failed to get a lift, slipping 0.4%. The report from the Fed on the health of the banking sector (KBE) was released Thursday, and showed that all 34 banks assessed (http://www.marketwatch.com/story/fed-stress-tests-show-banks-could-withstand-a-deep-downturn-2017-06-22) have "strong" levels of capital and would be able to keep lending even during a severe recession. The second set of results, which outline which banks may return capital to investors, are due next week.

Health-care shares are down following a rally Thursday. Republican senators released a health-care bill draft (http://www.marketwatch.com/story/senate-republicans-unveil-new-health-care-bill-2017-06-22) 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 (http://www.marketwatch.com/economy-politics/calendars/economic).

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 (http://www.marketwatch.com/story/feds-bullard-says-time-for-fed-to-pause-on-rate-hikes-2017-06-23) 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.

Stocks in focus:BlackBerry Ltd.(BB.T) sank 12% after the software and services company swung to an unexpected quarterly profit but its sales fell short of expectations. (http://www.marketwatch.com/story/blackberrys-stock-sinks-as-surprise-profit-offset-by-sales-miss-2017-06-23)

Synchronoss Technologies Inc. shares (SNCR) surged 34% after the private-equity firm Siris Capital Group and its associates offered to purchase the cloud-services provider for $18 a share in cash.

Bed Bath & Beyond Inc. shares (BBBY) dropped more than 12% after the home furnishings and accessories retailer late Thursday posted fiscal first-quarter earnings and sales that missed expectations. (http://www.marketwatch.com/story/bed-bath-beyond-shares-tank-after-earnings-sales-miss-2017-06-22)

Portola Pharmaceuticals Inc...(PTLA) jumped 42% on reports the pharmaceutical company received approval for a anticoagulant drug.

Other markets: The ICE Dollar Index , which measures the dollar against a basket of six currencies, was off 0.3% and gold was up 0.5%.

Stock markets in Asia finished mostly higher, with the Nikkei Stock Average logging a modest gain. European stocks 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.

Read:Brexit's impact on markets and the U.K., 1 year after the vote--in charts (http://www.marketwatch.com/story/brexits-impact-on-markets-and-the-uk-one-year-after-the-vote-in-charts-2017-06-23)

(END) Dow Jones Newswires

June 23, 2017 15:35 ET (19:35 GMT)