Stocks ended a wobbly day with tiny gains on Wall Street, enough to nudge major indexes to more record highs and more in Monday’s Stock Market Update.

The market started lower Monday as traders waited for clues about where trade talks between the U.S. and China were headed.

Wall Street has been on a tear since early October, and indexes have set all-time highs as worries about a possible recession faded. The gains have been not only strong but also nearly uninterrupted, bolstered by solid economic data, better corporate earnings than analysts expected and interest-rate cuts by the Federal Reserve.

That leaves negotiations in the U.S.-China trade war as the remaining wild card for the market. President Donald Trump hoped to have signed the first phase of a trade deal by now, at a major international summit that was scheduled for this past weekend. But the president of the summit’s host nation, Chile, canceled the meeting last month amid nationwide protests.

The two sides are continuing to negotiate, with stock markets around the world swinging on every hint of progress or tension.

“Things are somewhat stable right now, which is really crazy when I think about the geopolitical issues going on abroad and in the U.S.,” said Mike Loewengart, vice president of investment strategy at E-Trade Financial. “But we caution investors to have reasonable expectations for additional gains going forward: Hope for the best, but be mindful that we could see an uptick in volatility at any time.”


KEEPING SCORE: The S&P 500 edged up 1 point to 3,122. The Dow Jones Industrial Average added 31 points, or 0.1%, to 28,036. The Nasdaq rose 9 points, or 0.1%, to 8,549. The Russell 2000 index (RUT) of smaller company stocks fell 0.3%.

CHURNING: The modest gains for market indexes mask how much movement was going on underneath.

Energy stocks in the S&P 500 sank 1.7% for the largest loss by far among the 11 sectors that make up the index. Chevron (CVX) dropped 1.7%, and ConocoPhillips (COP) sank 2.6% as prices of oil and natural gas fell.

GUARDING THE GAINS: The day’s strongest stocks were in areas of the market that tend to pay big dividends and hold up even when the economy is slowing.

Real-estate stocks in the S&P 500 rose 0.8%, for example, while utilities and companies that make everyday goods for households both rose 0.7%.

These kinds of stocks are known as “defensive” investments, and they had begun to lag the market in recent weeks as interest rose in companies whose profits can rise more quickly in a healthy economy.

But a drop in Treasury yields Monday may have made the dividends paid by defensive stocks more attractive.

The yield on the 10-year Treasury fell to 1.81% from 1.83% late Friday.

HOO AH: Technology stocks also rallied after the Commerce Department gave another 90-day extension for Chinese tech giant Huawei to continue doing business with U.S. companies.

Nvidia (NVDA) bolted to the biggest gain in the S&P 500, up 3.9%, and Advanced Micro Devices (AMD)  rose 3.4%.

WEEK AHEAD: Several big retailers will report their results for the summer this week and close out the latest earnings season. More than 90% of companies in the S&P 500 have reported their latest earnings.

Home improvement retailer Home Depot will report results on Tuesday. Target and Lowe’s will report results on Wednesday. Macy’s and Gap will release their earnings on Thursday.

Investors will get a more detailed look at the Federal Reserve’s latest decision to cut interest rates when the central bank releases minutes from its October meeting on Wednesday.

KEEPING UP: CoverGirl owner Coty (COTY) rose 2.6% after buying a majority of reality TV Star Kylie Jenner’s beauty business.

Jenner is part of the “Keeping Up with the Kardashians” reality show family. She founded Kylie Cosmetics in 2015, relying on her hundreds of millions of social media followers to promote the brand.

© The Associated Press. All rights reserved.