US stocks edge higher, but S&P 500 on track for weekly loss

Stock indexes edged higher on Wall Street in afternoon trading Friday as a week dominated by the progress in U.S.-China trade talks — or lack thereof — comes to a close.

President Donald Trump said that a deal between the world’s largest economies is “potentially very close” after Chinese President Xi Jinping said Beijing is working to “try not to have a trade war,” but will nevertheless fight back if necessary.

Markets around the world have churned this week on uncertainty about whether the two sides can soon halt their trade dispute, or at least stop it from escalating. New U.S. tariffs are set to hit Dec. 15 on many Chinese-made items on holiday shopping checklists, such as smartphones and laptops.

Tariffs already put in place have hurt manufacturing around the world, and businesses have held back on spending given all the uncertainty about where the rules of global trade will end up.

The S&P 500 was on pace to finish the week with a loss, which would snap its longest winning streak in two years.

Banks, companies that rely on consumer spending and health care stocks were among the gainers, outweighing losses in the technology and real estate sectors. Oil prices were headed lower.

KEEPING SCORE: The S&P 500 was up 0.2%, as of 1:30 p.m. Eastern time. It had earlier been up 0.3% and then down 0.1%.

The Dow Jones Industrial Average rose 91 points, or 0.3%, to 27,857, and the Nasdaq composite added 0.1%. The Russell 2000 index of smaller companies gained 0.4%.

Major stock indexes in Europe moved higher.

TRADE TALKS: Trump said “we have a very good chance to make a deal” in an interview with Fox News after reports through the week raised the possibility that a “Phase 1” agreement may not be in place until 2020. But he also stressed, again, that he thought Xi wanted to make a deal more than he did.

In Beijing, Xi earlier told a visiting U.S. business delegation, “We want to work for a Phase 1 agreement on the basis of mutual respect and equality.”

TAKING A PAUSE: The uncertainty on trade has the S&P 500 on pace to close the week with a 0.3% loss. If it stays that way, it would be the first down week for the index in the last seven.

Stocks had been chugging higher on optimism that earlier worries about a possible recession were overdone. Reports in recent months showed the job market remained solid, and corporate profits held up better than expected in the summer. Interest-rate cuts by the Federal Reserve also helped.

The S&P 500 is still within 0.7% of its record set on Monday.

RETAIL RUN: Nordstrom surged 8.3% for the biggest gain in the S&P 500 after the retailer said it made a bigger profit last quarter than Wall Street expected.

It was a bright spot for the retail sector after a long list of mall-based clothing retailers delivered weak third-quarter earnings reports. Macy’s cut its profit and sales forecast for the year as shoppers continue to head online instead of to the store.

SWEET RETURNS: J.M. Smucker climbed 4.5% after it reported stronger profit for the latest quarter than Wall Street expected.

It joins a long list of companies to do so. Nearly 96% of companies in the S&P 500 have now told investors how much profit they made during the summer, and they’re on pace to report a drop of 2.3% from a year earlier. That’s not as bad as the 4% drop that analysts were earlier expecting.

SOUR OUTLOOK: Intuit, the company behind TurboTaxe, skidded 5.3% for the largest loss in the S&P 500 after it gave a profit forecast for the current quarter that fell short of Wall Street’s expectations.

TRUCKED: Tesla dropped 5.7% after some analysts panned the unveiling of its electric pickup truck. It’s aiming at the most profitable part of the North American market, but investors are skeptical about how many traditional pickup drivers the blocky, angular looks of Tesla’s “Cybertruck” will draw.

Alex Veiga And Stan Choe, The Associated Press