Major U.S. stock indexes edged lower on Wall Street, a shaky start to the week after the S&P 500 notched its first weekly gain in a month and more in Monday’s Stock Market Update.

Losses in consumer goods makers, utilities and industrial stocks outweighed gains in banks and elsewhere in the market Monday.

Energy stocks also fell as crude oil prices headed lower. Occidental Petroleum lost 1.4%.

Trading was choppy for much of the day after falling in the early going. The muted trading follows a rally Friday spurred by investor optimism amid signs of progress in the latest round of trade negotiations between the U.S. and China.

Washington and Beijing agreed to a truce following talks last week. The U.S. held off on tariffs set to kick in this week and China agreed to buy more farm goods. But the U.S. has yet to cancel plans for more tariffs in December and the nations still have several complicated issues to negotiate, which may have dimmed some of the optimism that fueled last week’s market rally.

Procter & Gamble contributed to the slide in consumer goods makers, dropping 0.8%. Colgate-Palmolive fell 1.5%.

Deere & Co. helped pull industrial sector stocks lower, falling 1.1%. Communication services companies also fell. Comcast dropped 0.7% and Twitter was down 1.4%.

Some energy companies declined as crude oil prices dropped 2%. Devon Energy slid 1.4%.

Financial stocks rose, with insurers among the gainers. Progressive added 0.6%

Several pharmaceutical companies helped drive health care stocks higher. Amgen rose 1% and Alexion Pharmaceuticals climbed 2.1%.

Bond markets and the U.S. government were closed for the Columbus Day holiday.

Investors are also looking ahead to the start of the third-quarter earnings season, as companies begin to report their latest quarterly results. Major investment banks and other big companies are scheduled to serve up their report cards for the July-September quarter this week, including JPMorgan Chase, Johnson & Johnson, United Airlines, Netflix, Coca-Cola and UnitedHealth Group.

Expectations for S&P 500 companies’ third-quarter results are generally low, with analysts forecasting a drop of 4.2% from a year ago. The results, plus what CEOs say about their spending and revenue forecasts, should give a better picture of the economy’s potential direction.

“The market is a little bit nervous about earnings because there are some estimates out there that say there’s going to be negative growth,” said Karyn Cavanaugh, senior markets strategist at Voya Investment Management.

STOCK MARKET UPDATE

KEEPING SCORE: The S&P 500 fell 4 points, or 0.1%, to 2,966. The Dow Jones Industrial Average lost 29 points, or 0.1%, to 26,787. The Nasdaq fell 8 points, or 0.1%, to 8,048.

Small-company stocks did worse than the rest of the market.

TRADE UNCERTAINTY: Investors applauded the progress made by the U.S. and China last week, but uncertainty remains over whether they can ink a broader deal.  The overall picture hasn’t changed for companies, which are still holding off on forecasts and investments because of the uncertain trade situation.

“There is not yet a viable path to existing tariffs declining and tariff escalation remains a meaningful risk,” Michael D. Zezas, a Morgan Stanley strategist, wrote in a note to clients. “Thus, we do not expect a meaningful rebound in corporate behavior that would drive global growth expectations higher.”

Trump and Chinese President Xi Jinping are due to attend an economic conference in Chile in mid-November. That is raising hopes a face-to-face meeting might produce progress.

TAKING OVER: Shares in Parsley Energy slid 10.6% on news the oil and gas company is buying Jagged Peak Energy in an all-stock deal. Jagged Peak shares dropped 1.4%.

DEAL IN THE WORKS: Aecom climbed 6.3% after the provider of technical and management-support services said it is selling its management services business.

OVERSEAS: European markets closed lower. The European Union faces a potential trade war with the U.S. as the Trump administration readies trade sanctions on up to $7.5 billion worth of goods. The tariffs are set to go into effect Friday and stem from a dispute over subsidies to the airplane maker Airbus.

© The Associated Press. All rights reserved.