Wall Street just had one of its wildest weeks in years. What happened and what could come next

Traders work on the floor of the New York Stock Exchange. 

The past week's wild market swings pushed the major averages below key levels, made big macro calls outdated within a few hours and rattled some of market's most resilient stocks.