FTX roiled markets throughout the week, culminating with the exchange's Chapter 11 bankruptcy filing on Friday.