Major U.S. stock indexes ended nearly flat Tuesday after an abbreviated trading session ahead of Christmas Day.

The Nasdaq composite eked out a tiny gain, extending the index’s winning streak to 10 days and nudging it to a record high for the seventh day in a row. The S&P 500 and Dow Jones Industrial Average finished with tiny losses.

Industrial, health care and communication services stocks were the biggest losers Tuesday. Those losses outweighed gains in banks, technology stocks and elsewhere in the market.

Trading was lighter than usual during the half day that U.S. markets were open. They are closed on Wednesday for the holiday.

“It’s normal to see profit-taking, and we’re seeing a little bit of that,” said Quincy Krosby, chief market strategist at Prudential Financial. “And that’s to be expected in a market that’s moved fast, quickly and up only in one direction.”

Holiday stock schedule:Here's when the stock market is open on Christmas week

The S&P 500 slipped 0.63 points, or less than 0.1%, to 3,223.38. The drop snapped a three-day winning streak for the index, which hit an all-time high Monday.

The Dow Jones Industrial Average dropped 36.08 points, or 0.1%, to 28,515.45. The Nasdaq composite recovered from an early slide, gaining 7.24 points, or 0.1%, to 8,952.88.

The Russell 2000 index of smaller company stocks fared better than the rest of the market, adding 3.87 points, or 0.2%, to 1,678.01.

Bond prices rose. The 10-year Treasury yield slipped to 1.90% from 1.93% late Monday.

Retirement:3 ways millennials might be unprepared

Record highs aplenty in December

The market’s modest slide follows a strong winning streak for stocks that has propelled the major indexes to record highs this month. The benchmark S&P 500 index has finished with a weekly gain in 10 out of the past 11 weeks.

Rising optimism around a “Phase 1” trade deal announced earlier this month between the United States and China helped put investors in a buying mood in recent weeks. Fears about a possible recession have also faded since the summer after the Federal Reserve cut interest rates three times, and the central bank appears set to keep them low for a long time.

Still, as traders turn their attention to 2020, fears about the outlook for the global economy remain, as do concerns over unresolved trade issues between Washington and Beijing. Next year also has the added complication of the U.S. presidential election.

Industrial stocks led the way lower Tuesday. Boeing fell 1.4%, giving up some of its day-earlier gains when the aerospace manufacturer said its CEO had resigned amid ongoing problems related to its troubled 737 Max aircraft.

Amazon is watching, listening and tracking you:Here's how to stop it

Health care and communication services stocks also helped pull the indexes lower. Cigna fell 1.2% and Facebook dropped 0.5%.

Financial stocks, retailers and other companies that rely on consumer spending notched gains. Assurant rose 0.9% and Home Depot rose 0.7%, while Ross Stores added 0.8%.

Homebuilders bounced back with broad gains after falling the day before following a disappointing home sales report. Hovnanian Enterprises gained 3.2%.

Uber Technologies rose 0.4% on news that ex-CEO Travis Kalanick will resign from the board next week, effectively severing ties with the ride-hailing company he co-founded a decade ago.

Kalanick was ousted as CEO in the summer of 2017 with the company mired in numerous lawsuits. The departure did not come as a surprise. Kalanick recently sold more than $2.5 billion worth of shares in the company, more than 90% of his holdings.

Shares in mining company Freeport-McMoRan climbed 1.1% as the price of gold rose. Gold gained $16.10, or 1.1%, to $1,504.80 per ounce.

Benchmark U.S. crude oil gained 59 cents to $61.11 per barrel. Brent crude, the international standard, added 25 cents at $66.39 per barrel.

Stock markets in Europe were either closed or opened for limited hours Tuesday. Britain’s FTSE 100 index closed 0.1% higher, while the CAC 40 in Paris ended flat. Both markets opened for only half the day, and will remain closed until Friday. Germany’s DAX was closed Tuesday and won’t reopen until Friday.

Major stock indexes in Asia finished mixed.

U.S. markets are scheduled to reopen Thursday.

Food recall:Trader Joe's egg and old-fashioned potato salads recalled because of listeria fears

Healthy job markets:These cities added the most jobs in the last 5 years