Wall Street’s major indices on Tuesday were on track to post gains for a third straight session for the first time since early September. Helping equities was a fall in Treasury yields and a decline in the dollar.

Investors digested quarterly earnings from several high-profile companies and looked ahead to scheduled reports from megacap technology firms Microsoft and Alphabet.

U.S. stocks posted solid gains in the previous two sessions, helped by speculation that the Federal Reserve would be able to slow down its pace of rate hikes after its policy meeting next week.

By late afternoon, the benchmark S&P 500 (SP500) had gained 1.44% to 3,852.20 points. The blue-chip Dow (DJI) was up 0.92% to 31,788.78 points. It had notched an over six week closing high on Monday.

The tech-heavy Nasdaq Composite (COMP.IND) jumped 2.08% to 11,180.02 points, boosted by Netflix, Meta and Apple. The index, which is the most rate-sensitive of the three, also rose due to the fall in yields.

The 10-year Treasury yield (US10Y) was down 13 basis points to 4.10%. The 2-year yield (US2Y) was down 2 basis points to 4.48%. The dollar (DXY) was also lower.

“The number one thing driving stocks higher today is the reduction in yields… that’s happened to stabilize stocks,” Keith Lerner, co-chief investment officer at Truist Wealth, told Seeking Alpha.

“On top of that… what’s happening is if you’re a fund manager who is underweight equities in a year that’s down double digits, you have this anxiety about missing out on a rally in a positive period. So some of (the current rally) is a reflection of some anxiety pushing investors back in,” Lerner added.

Earnings reports dominated headlines on Tuesday. Automaker General Motors and soft drinks behemoth Coca-Cola rose after beating expectations on quarterly profit. On the other hand, logistics giant UPS fell after a mixed report. Dow 30 component 3M also lost ground after posting a revenue miss, while industrial major General Electric declined after cutting its full year profit forecast.

Microsoft and Alphabet are on tap to report after the closing bell. Given their sheer size and market capitalization, any moves in their stock after their earnings will be significant. According to Defiance ETFs CEO Sylvia Jablonski, strong results from the megacap names could trigger a year-end rally.

All eleven S&P sectors were higher in late afternoon trade with the exception of Energy. Real Estate, Materials and Consumer Discretionary were the top gainers.

Turning to economic news, home prices dropped more than expected in Aug., according to the S&P Corelogic Case-Shiller Home Price Index, in another sign that higher interest rates are helping to cool the economy.

“The housing market is especially vulnerable to Federal Reserve Chair Powell’s incessant chant of ‘hike, hike, hike,'” UBS’ Paul Donovan wrote. “House prices do not directly impact CPI (because the owners’ equivalent rent housing measure is nothing to do with the real world). There are some knock-on effects to sectors like furniture and appliances.”

The Conference Board’s measure of October consumer confidence fell more than expected. Figures came in at 102.5 compared to the consensus 106 level.

Among other active stocks, PayPal gained after Amazon enabled Venmo payments ahead of the holiday shopping season. Twitter also rose on news that Elon Musk had moved forward on his buyout of the company.