Even for an investment as volatile as bitcoin, the second quarter was wild.

The cryptocurrency stood at $1,079 on April 1. Over the next two months, it nearly tripled in price, driven in part by a surge of interest coming from Japan and South Korea. Bitcoin hit a record of $3,019 on June 11, and then fell 27% in the days after.

It closed the...