Stocks struggled to a mixed finish on Wall Street as steep drops in Kohl’s and Home Depot offset gains elsewhere in the market and more in Tuesday’s Stock Market Update.

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.

Disappointing earnings from Kohl’s helped pull other retailer stocks lower Tuesday, which helped keep the market’s overall gains in check. Energy sector stocks also fell as oil prices continued to head lower.

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

STOCK MARKET UPDATE

KEEPING SCORE: The S&P 500 lost 1 point to 3,120. The index spent much of the day wobbling between gains and losses The Dow Jones Industrial Average fell 102 points, or 0.4%, to 27,934. The Nasdaq climbed 20 points, or 0.2%, to 8,570, another record high. The Russell 2000 index of smaller company stocks rose 0.3%

European markets closed mostly higher.

BAD CUT: Home Depot (NYSE: HD) dropped 5.4% after the home improvement company reported weak sales growth for the most recent quarter and cut its forecast for the year. Rival Lowe’s (NYSE: LOW), which will report earnings on Wednesday, fell 1.4%.

RETAIL ROUT: Kohl’s (NYSE: KSS) plunged 19.5% after the department store operator slashed its profit forecast for the year following weak third-quarter earnings.

Investors dumped stocks of other department store operators after the weak outlook from Kohl’s. Macy’s (NYSE: M) sank 10.9% and Nordstrom (NYSE: JWN) lost 6.2%. Both report their own results on Thursday.

BUCKING THE TREND: Not all big retailers were having a bad day. Shares in the TJX Cos. (NYSE:TJX), rose 1.8% after the parent of T.J. Maxx and Marshalls reported encouraging third-quarter earnings and raised its profit forecast for the year.

© The Associated Press. All rights reserved.