While many traders and investors took the summer months to get away and get in some rest and relaxation, the stock market was still hard at work.

During the span between Memorial Day (May 26) and Labor Day (Sept. 1), the large-cap index rose by more than 5 percent and set fresh record highs. That means that those who "sold in May and went away" missed out on a decent summer stock rally.