Bitcoin surged more than 12 percent, but was still on track for sharp weekly losses during a tumultuous trading period.