The mathematics of buying Bitcoins during dips