Stocks are ending mostly higher on Wall Street, marking another set of records for the Dow Jones Industrial Average and the Nasdaq and more in Tuesday’s Stock Market Update.

The S&P 500 index slipped slightly on Tuesday, weighed down by losses in health care, technology and other sectors.

Banks and energy companies did well. Bank of America climbed 1.2% and Exxon Mobil added 1.9%.

Medical device maker Medtronic gave up 1.5%.

The yield on the 10-year Treasury rose to 1.85% from 1.78% late Monday.

Supermarket operator Kroger (KR) surged 11.3% after giving investors a solid profit forecast.

STOCK MARKET UPDATE

KEEPING SCORE: The S&P 500 fell 3 points, or 0.1%, to 3,074. The Dow climbed 30 points, or 0.1%, to 27,492. The Nasdaq edged up 1 point to 8,434.

TRADE WAR: Chinese President Xi Jinping has promised more gradual market-opening steps and reports suggest that the U.S. and China are considering rolling back more tariffs as they continue negotiations. Meanwhile, encouraging comments from Commerce Secretary Wilbur Ross about progress in trade talks helped to brighten sentiment.

Recently imposed tariffs have hurt manufacturers and are a lingering threat to technology companies.

ECONOMY: Investors have been encouraged by solid employment and consumer spending data. Those measures have been key drivers for sustaining the U.S. economy’s decade-long growth. On Friday, the government released a surprisingly strong employment report for October. A survey released Tuesday showed surprisingly good growth in the services sector, which makes up the bulk of the U.S. economy.

INTEREST RATES: The Federal Reserve is expected to keep interest rates low after making its third cut this year. Low interest rates can goose economic activity. They also make stocks more attractive as investments relative to bonds.

The central bank has been cutting rates in an effort to help shore up U.S. economic growth threatened by the U.S.-China trade war and slower global economic growth.

LOW RATING: Uber (UBER) fell 9.8% in heavy volume after the ride-hailing company revealed some shortfalls in its earnings report. The company saw a surge in monthly users, but not enough to satisfy analysts’ forecasts. It also reported some disappointing results for its online food ordering and delivery service, Uber Eats.

EARNINGS SCORECARD: Corporate earnings have not been as bad as Wall Street anticipated. Investors had been preparing for a significant contraction of more than 4% in corporate profits, according to FactSet. But, most results have been surprisingly good and have tempered the forecast to a contraction of less than 3%.

Analysts are already looking ahead to 2020 and are forecasting solid growth.

ANALYST’S TAKE: The next steps in the U.S.-China trade war could determine whether the market continues its rally or retreats. Statements from officials and other reports suggest that both sides are on a path to resolving the dispute.

“The rumors have been bought and now we’ll see what happens with the actual deal announcement,” said Ben Phillips, chief investment officer at EventShares.

Investors are also closely watching gauges for consumer sentiment as the holiday shopping season nears, he said, to better measure the economy’s health.

WEAK HEALTH: Medical device maker Becton Dickinson (BDX) fell 4% after it gave investors a weak profit forecast for its 2020 fiscal year. Several other medical device makers also fell and weighed on the broader health care sector. Thermo Fisher fell 2.7% and Medtronic fell 1.5%.

© The Associated Press. All rights reserved.