The S&P 500 reached a record high Monday, one day after the U.S. and China agreed to a trade pact framework that could prevent a broader trade war, news that sent gold prices tumbling.