The S&P 500 reached another all-time high this week, supported by easing concerns around geopolitical risk.