The Dow Jones Industrials fought its way higher 10.42 points to finish Tuesday at 33,573.28, as losses of more than 2% in Merck and UnitedHealth weighed on the blue-chip average.
The much-broader S&P 500 gathered 10.06 points to 4,283.85.
The tech-heavy NASDAQ index surged 46.99 points to 13,276.42.
Coinbase dropped more than 12% after the Securities and Exchange Commission sued the crypto company. The SEC alleged Coinbase was acting as an unregistered broker and exchange. Bitcoin rose 4.5%.
Apple shares shed 0.2% a day after the tech giant debuted its highly anticipated virtual reality headset as well as new software at its annual Worldwide Developer Conference. In the previous session, the stock hit an all-time high ahead of the announcement.
Prices for the 10-year Treasury recovered, lowering yields to 3.68% from Monday’s 3.69%. Treasury prices and yields move in opposite directions.
Oil prices subtracted 63 cents to $71.52 U.S. a barrel.
Gold prices gained $5.30 to $1,979.60 U.S. an ounce.