A late-afternoon rally in technology companies helped recoup most of the market’s losses on Friday, but it wasn’t enough to save key indices from falling for the second week in a row.

The S&P 500 gained 0.1% in the last minutes of trade after falling by roughly 1% earlier in the day. The tech-heavy Nasdaq recovered from a 0.8% drop to gain 0.6%. The Dow Jones Industrial Average decreased by 0.6%.

Also Read| Trade Setup: Top 17 things to know before market opens on January 17, 2022

On a day when investors were mostly focused on a mix of business earnings releases and gloomy retail sales data, the surge in technology stocks, along with gains in energy and other sectors, helped balance drops in banks and other sectors.

The bumpy trading on Wall Street followed a week of tumultuous trading that worsened the market’s January fall. The benchmark S&P 500, which rose 26.9% in 2021, is currently approximately 2.8% behind its all-time high reached on January 3.

Also Read| Trending Stocks: HDFC, HCL, Vedanta, PB Fintech, CESC and others in news today

The S&P 500 increased 3.82 points to 4,662.85, while the Nasdaq increased 86.94 points to 14,893.75. The Dow Jones Industrial Average slid 201.81 points to 35,911.81. Smaller company stocks recovered from an early decline as well. The Russell 2000 index increased 3.02 points, or 0.1%, to 2,162.46.

Following the disappointing retail sales data, a wide spectrum of retailers and other firms that rely on direct consumer spending declined. Home Depot was down 3.9%, while Whirlpool was down 4.3%.

Also Read| Stocks that should be on your watchlist on Monday, January 17, 2022

The market’s losses were mitigated by a late spurt of purchasing in technology stocks. Microsoft gained 1.8%.

The price of crude oil in the United States increased by 2.1%, assisting in the rise of energy stocks. Marathon Oil increased by 4.9%. Bond yields increased. The 10-year Treasury yield increased to 1.79% from 1.70% late Thursday.