calculate crypto profit