I found Rotki which is selfhosted (and expensive) but it’s not good to manage old trades. I have added old trades and they don’t show up as assets because of how the app works. You have to manually add assets balance and you can’t see your performance on these old trades.
I have selfhosted Ghosfolio as well, but it lacks important features when dealing currency that’s not USD. If I make a purchase of LTC for 500000ARS I can’t set the custom price of ARS/USD on that particular date, which I can’t know my performance on the currency + crypto.
Do you have any other apps focused on privacy on portfolio tracking? Other than a excel spreadsheet…