To say it was a topsy-turvy week in the markets would be an understatement, as extreme volatility buffeted stocks, bonds and commodities.