portfolio icon indicating copy to clipboard operation
portfolio copied to clipboard

Buying and selling the same day lead to infinity TRI

Open amoutiers opened this issue 11 months ago • 1 comments

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 avatar Mar 08 '24 07:03 amoutiers

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

Sn1kk3r5 avatar Mar 08 '24 10:03 Sn1kk3r5