On Monday, the stock market wrapped up its best August since 1984 as the S&P 500 jumped more than 7%, hit new record highs and fully erased its losses from the coronavirus pandemic.