Shares of Microsoft Corp. /zigman2/quotes/207732364/composite MSFT -0.59% rallied 3.38% to $248.88 Tuesday, on what proved to be an all-around favorable trading session for the stock market, with the S&P 500 Index /zigman2/quotes/210599714/realtime SPX -0.16% rising 3.06% to 3,790.93 and the Dow Jones Industrial Average /zigman2/quotes/210598065/realtime DJIA +0.0091% rising 2.80% to 30,316.32. This was the stock's second consecutive day of gains. Microsoft Corp. closed $100.79 short of its 52-week high ($349.67), which the company reached on November 22nd.
The stock demonstrated a mixed performance when compared to some of its competitors Tuesday, as Apple Inc. /zigman2/quotes/202934861/composite AAPL -2.11% rose 2.56% to $146.10, Alphabet Inc. Cl A /zigman2/quotes/202490156/composite GOOGL -0.90% rose 3.04% to $101.64, and SAP SE ADR /zigman2/quotes/207905606/composite SAP -1.00% rose 4.88% to $88.04. Trading volume (34.6 M) eclipsed its 50-day average volume of 25.1 M.