-
Notifications
You must be signed in to change notification settings - Fork 139
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] Possibly incorrect Net Investment value on main page #77
Comments
I had a fix ready for this, but realized that would break the Asset > Networth page because the graph assumes |
I have also incorrect investment values:
This is somehow connected to the multiple currencies I use. The gain/loss started to grow immediately after the first currency exchange transaction. And I'm still struggling to get the logic behind the numbers |
@pashagolub could you share a minimal example? I know about the issue related to the checking account, but yours seems like a different case. |
Sure, something like this shows the issue:
So it seems like it is price related issue. If there are no prices before the opening transaction, the sum of foreign currencies amounts is going under Loss.
My guess is before first price all currencies are equal, meaning 1 EUR = 1 UAH = 1 USD. |
@pashagolub could you try to convert the Edit: looking into the issue a bit more, since you are specifying the time as 00:50, and the transaction is recorded at 00:00, ledger won't use it (the price is for a future date) |
Describe your Environment
OS: Ubuntu
Paisa Version: 0.5.4
App Variant: CLI
Describe the bug
Net Investment value on main page seems to be incorrect
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Correct value
Screenshots
Journal
As can be seen from the journal file, the only transaction is to Assets:Checking, which is not to be considered an investment account. Then, the Net investment value on the opening page shows 1000, but should be 0.
The text was updated successfully, but these errors were encountered: