How to Accurately Compute Your Gains/Losses in Cryptocurrency