Stocks rebounded on Tuesday after a three-day losing streak as investors bought the dip in shares caused by Omicron variant fears. The Dow Jones Industrial Average climbed over 560 points, while the S&P 500 and Nasdaq gained over 1.6% and 2%, respectively.

Here's how the market settled on Tuesday:

S&P 500 Index (SPY  ): +1.78% or +81.22 points to 4,649.24

Dow Jones Industrial Average (DIA  ): +1.61% or +560.97 points to 35,493.13

Nasdaq Composite Index (QQQ  ): +2.40% or +360.14 points to 15,341.09

McDonald's to sell Dynamic Yield to Mastercard:

McDonald's (MCD  ) said Tuesday it is selling Dynamic Yield, a tech firm it acquired about three years ago, to Mastercard (MA  ) for an undisclosed amount. Dynamic Yield specializes in personalization and decision logic technology. The three companies expect to close the deal in the first half of 2022.

"With Dynamic Yield expertise and our scale and relationships, we'll be able to bring the connections between the end consumer and our customers to new heights," Mastercard said in a press statement regarding the deal.

McDonald's first purchased Dynamic Yield in 2019 in a deal valued at over $300 million as the fast-food chain worked to personalize its drive-thru experience. The acquisition by Mastercard will enable Dynamic Yield to scale its technology to other third party businesses.

AT&T agrees to sell Xandr ad unit to Microsoft:

AT&T (T  ) announced Tuesday that it has agreed to sell its Xandr advertising business to Microsoft (MSFT  ) for an undisclosed amount. The telecom said in a statement regarding the deal that Xandr's technology "strategically complements Microsoft's current advertising offerings."

Microsoft's President of Web Experiences Mikhail Parakhin said in a statement: "With Xandr's talent and technology, Microsoft can accelerate the delivery of its digital advertising and retail media solutions, shaping tomorrow's digital ad marketplace into one that respects consumer privacy preferences, understands publishers' relationships with consumers and helps advertisers meet their goals."

AT&T said the sale does not include the ad sales business that supports its DirecTV unit.

Here's how market benchmarks started trading soon after open:

S&P 500 Index: +0.86% or +39.48 points to 4,607.50

Dow Jones Industrial Average: +0.86% or +299.00 points to 35,231.16

Nasdaq Composite Index: +1.02% or +153.45 points to 15,134.40