NBC: S&P 500 notches record high close on optimism about trade deals