It’s probably worth noting, but I think what you’re asking for is TWRR - Time Weighted Rate of Return.
The calculations not as simple as you might think - I do mine offline on google sheets, but the likes of tools like wallmine can do it for you, importing holdings from all your broker accounts.
Personally, I wish there was an open banking equivalent for brokers, so that we could pick/choose any external tool to do our reporting, the way we want. That way brokers could focus on doing what they do best - helping us trade in the market!
@TheVAX i see you also posted the same question in another thread at the same time