The US stock market gained $2 trillion in market capitalization today. The S&P 500 index closed up 2.5%, its best performance in the past 7 months.