Early on Friday, the S&P 500 was less than a point from reaching a new all-time high. Earnings and guidance…