Back in the day, I used to keep track of all these things on Excel, where rows in one sheet can represent the relevant TX data (type of tx, date, price, amount, etc.), which can then be rolled-up to aggregate data per coin on a different tab (balance, aggregate cost, realized gross benefit, current unrealized value, etc.). In addition, I found it interesting at the time to import market data using an API such as this one (*), in order to track portfolio value from Excel (this can all be done with Google Sheets too).
Note: Just to reiterate, the profit on the image shown in the OP is incorrect, as already been established, lacking having deducted the base investment value.
(*) Make sure you use at least a unique email for this (just in case past events reiterate in some fashion). A VPN would not go amiss either.