S&P 500 opens at record high following Trump and Xi trade truce