Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Total performance calculation wrong - seems to calculate old holdings #3416

Open
viktor-sc opened this issue May 15, 2024 · 0 comments

Comments

@viktor-sc
Copy link

Bug Description

For one specific stock I had one buy and sell in the past. Later I bought it again twice and then the price went down.
The total performance shows -248% which can't be right. In fact it's about -76% for the current holdings. The one in the past somehow affect the calculation.

To Reproduce

I attache an short export to reproduce:

ghostfolio-export-PSM.DE-202405151944.json

Expected behavior

As the 8 stocks from the past were sold long time ago they should not affect the performance in my opinion. At least it should not be compared to the current price...

Screenshots

image

Environment

  • Ghostfolio Version 2.81.0
  • Self-hosted
  • Experimental Features disabled
  • Browser Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant