S&P closed at record highs this week