A solid jobs report and company earnings spurred U.S. stocks broadly higher Friday, driving the S&P 500 to its second straight weekly gain.
The Nasdaq composite hit an all-time high for the second time this week. The benchmark S&P 500 index closed less than 0.1% below the record high it reached on Tuesday.
Technology and consumer-focused companies did the most to push the market higher. Stocks in the communications, industrial, financial and health care sectors also notched solid gains as traders cheered surprisingly good earnings from United States Steel, Weight Watchers and other companies.