portfolio
portfolio copied to clipboard
Buying and selling the same day lead to infinity TRI
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
Desktop (please complete the following information):
- OS: macOS
- Version 0.67.3 (févr. 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