The Nasdaq Composite was up 75.64 points, or 1.23 percent, at 6,227.39. The S&P technology sector.SPLRCT was up 1.4 percent after its second straight weekly decline, which was triggered by fears of stretched valuations. "Investors were temporarily chased from the space but many companies in the sector offer growth which is hard to find in the market as a whole."Apple (AAPL.O) rose 3.8 percent to $146.07, providing the biggest boost to technology followed by Microsoft (MSFT.O), Alphabet (GOOGL.O) and Facebook (FB.O)".
Leading the recovery, Apple AAPL.O rose 2.6 percent, providing the biggest boost to the three major sectors.
Consumer staples stocks, which were battered on Friday after Amazon.com's AMZN.O $13.7 billion deal to buy upscale grocer Whole Foods WFM.N , added to their losses. Biogen climbed 3.5 percent and Morgan Stanley rose 2.8 percent.
Bond prices fell. The yield on the 10-year Treasury note rose to 2.19 percent. S&P 500 e-minis were up 7.25 points, or 0.3 percent, with 138,274 contracts traded.
The S&P 500 and the Dow Jones industrials both closed at all-time highs.
Airline stocks also showed a notable move to the upside, driving the NYSE Arca Airline Index up by 1.8 percent.
Clovis Oncology soared 47 percent to $87.90 after the biotechnology company's ovarian cancer drug was set for a label expansion.