The market added to its recent run of gains on Tuesday as another turbulent day of trading on Wall Street concluded with equities finishing largely higher.

Also Read| US Stock Market: DJIA, S&P500 and Nasdaq turns red in early trade on Tuesday

The S&P 500 gained 0.2% for the third session in a row. The Dow Jones Industrial Average increased 0.7%, extending its winning streak to five days. The Nasdaq fell 0.2%.

Bond yields increased. The 10-year Treasury yield increased to 2.81% from 2.79% late Monday.

Also Read | Adam Neumann announces real estate startup, Flow, valued at over $1 billion

The latest market gyrations occurred as traders warily assessed mostly positive earnings data from big retailers.

Walmart rose 5.1% as the country’s largest retailer posted outstanding profits that significantly topped analysts’ expectations. Home Depot rose 4.1% after also reporting better-than-expected results. The gains from both companies did much of the heavy lifting for the Dow.

Also Read | Apple announces 3-day work week, deadline for workers set to 5 September

Technology, health care and energy stocks fell, limiting the broader market’s advance. Broadcom fell 1.3%, Moderna slid 5% for the biggest drop in the S&P 500 and Marathon Oil fell 1.1%.

Retailers, consumer product makers and banks made solid gains.

In all, the S&P 500 rose 8.06 points to 4,305.20. The Dow gained 239.57 points to 34,152.01. The Nasdaq fell 25.50 points to 13,102.55.

Also Read| SpiceJet settles with lessor Goshawk Aviation for Boeing aircraft

Smaller company stocks edged lower. The Russell 2000 slipped 0.82 points, or less than 0.1%, to 2,020.53.

U.S. crude oil prices fell 3.2%. European markets ended broadly higher and Asian markets closed mixed overnight.

The latest results from retailers show that spending remains solid, even as consumers face the hottest inflation in 40 years. Wall Street has been concerned that higher prices on everything from food to clothing could eventually stunt the economy’s main engine of growth, consumer spending. Investors will get more updates on the retail sector this week when Target reports its results on Wednesday.

Also Read| How India can fight ransomware attacks

The Commerce Department releases its July retail sales report on Wednesday. Economists surveyed by FactSet expect modest 0.2% growth from June when sales rose 1%.