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

Buying and selling the same day lead to infinity TRI #3827

Open
amoutiers opened this issue Mar 8, 2024 · 1 comment
Open

Buying and selling the same day lead to infinity TRI #3827

amoutiers opened this issue Mar 8, 2024 · 1 comment
Labels

Comments

@amoutiers
Copy link

amoutiers commented Mar 8, 2024

Describe the bug
When buying and selling the same day, the TRI calculation lead to an -Infinity% or Infinity%, even with the complete date (with hours)

To Reproduce
I've recreate the bug in attached file.
bourse.xml.zip

Expected behavior
The right TRI

Screenshots
Capture d’écran 2024-03-08 à 08 13 49

Desktop (please complete the following information):

  • OS: macOS
  • Version 0.67.3 (févr. 2024)
@amoutiers amoutiers added the bug label Mar 8, 2024
@Sn1kk3r5
Copy link
Contributor

Sn1kk3r5 commented Mar 8, 2024

HI,

this is a known behavior. PP is not made for day trading but Buy and Hold.
You'll find some examples in the forum, e.g. https://forum.portfolio-performance.info/t/making-sense-of-trades/21179

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants