Major stock indexes ended a wobbly day of trading on Wall Street mostly lower Tuesday, as losses in energy companies and department store operators edged out gains elsewhere in the market.

A solid showing for technology sector stocks helped lift the Nasdaq composite to another all-time high, while the S&P 500 index finished less than 0.1% below the record close it reached on Monday.

Energy sector stocks took the heaviest losses as the price of U.S. crude oil dropped 3.2%. Disappointing earnings from Kohl’s sent other retailer stocks into a skid. A slide in Home Depot’s stock weighed on the Dow Jones Industrial Average, which ended lower a day after inching to a record high.

“It’s almost a carbon copy of yesterday,” Jeff Zipper, managing director at U.S. Bank Private Wealth Management. “The S&P basically flat, the Nasdaq obviously up. Right now, the markets, as we go toward year end, their path of least resistance is up.”

The S&P 500 index slipped 1.85 points, or less than 0.1%, to 3,120.18. The Dow fell 102.20 points, or 0.4%, to 27,934.02. The Nasdaq climbed 20.72 points, or 0.2%, to 8,570.66.

Smaller company stocks fared better than the rest of the market, driving up the Russell 2000 index up 5.95 points, or 0.4%, at 1,598.29.

Major stock indexes in Europe closed mostly higher.

Bond prices rose, sending bond yields lower. The yield on the 10-year Treasury fell to 1.79% from 1.80% late Monday.

U.S. stocks have been steadily rising for weeks as a mix of solid economic data and corporate earnings inject confidence into the market and diminished fears that a recession was imminent.

Technology, by far the best-performing sector this year, has done especially well as investors have grown more hopeful that the U.S. and China will make progress in ending their trade war. Traders hope the world’s two biggest economies can deliver on plans for a “phase one” deal before new and more damaging tariffs take effect next month.

Tech stocks were among the big gainers Tuesday, led by chipmakers. Advanced Micro Devices climbed 3.5% and Broadcom rose 2.1%.

Health care stocks accounted for the biggest swath of gains. Pfizer rose 1.2% and Amgen gained 1.7%.

Those gains were kept in check by losses elsewhere in the market.

Welcome to the discussion.

Keep it Clean. Please avoid obscene, vulgar, lewd, racist or sexually-oriented language.
PLEASE TURN OFF YOUR CAPS LOCK.
Don't Threaten. Threats of harming another person will not be tolerated.
Be Truthful. Don't knowingly lie about anyone or anything.
Be Nice. No racism, sexism or any sort of -ism that is degrading to another person.
Be Proactive. Use the 'Report' link on each comment to let us know of abusive posts.
Share with Us. We'd love to hear eyewitness accounts, the history behind an article.