Coinstats
[1]: provides a modern way to track and calculate earnings, as you add currencies manually or add the address, or the public key.
The application will calculate the price change, your profits, and the percentage of the price increase in addition to alerts when the price rises above a certain level.
Generally, if you care about privacy, the previous method might not seem appropriate (because it uses a third party), but it is better than doing it manually.
[1]
https://coinstats.app/en/