The S&P 500 towed an anchor for much of the summer as a historic momentum and leverage unwind under the surface dragged on the equity benchmark before breaking out to fresh records last week.