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

[Question] Some Dividend transactions not being recognized #26

Open
pallavg opened this issue Feb 17, 2024 · 1 comment
Open

[Question] Some Dividend transactions not being recognized #26

pallavg opened this issue Feb 17, 2024 · 1 comment

Comments

@pallavg
Copy link

pallavg commented Feb 17, 2024

I'm running into a strange situation where some dividend transactions are not being recognized.

I have the following:

    investment {
        currency: "FXNAX"
        asset_account: "Assets:US:Fidelity:HSA:FXNAX"
        dividend_accounts: "Income:US:Fidelity:HSA:Dividends:FXNAX"
        cash_accounts: "Assets:US:Fidelity:HSA:Cash"
    }

    investment {
        currency: "VTI"
        asset_account: "Assets:US:Vanguard:Roth:VTI"
        dividend_accounts: "Income:US:Vanguard:Roth:Dividends:VTI"
        cash_accounts: "Assets:US:Vanguard:Roth:Cash"
    }

The tnxs look like this:

2023-02-28 * "INCOME - DIV - DIVIDEND RECEIVED"
  Assets:US:Fidelity:HSA:Cash                        41.71 USD
  Income:US:Fidelity:HSA:Dividends:FXNAX            -41.71 USD

2023-09-26 * "REINVEST - DIV - DIVIDEND REINVESTMENT"
  Assets:US:Vanguard:Roth:VTI                  0.817 VTI {212.9008 USD}
  Income:US:Vanguard:Roth:Dividends:VTI      -173.94 USD

In the HSA case, the dividend goes to cash and then is reinvested from cash. However in the Roth case, the dividend is automatically reinvested. I am importing these tnxs via OFX files from the brokerage websites. Beangrow/fava-portflio-returns shows the HSA dividends without any issue. However, the dividends from Vanguard Roth don't show up. Is there a way to handle this scenario? It would be a pain for me to manually change all the dividends -> cash and then from cash -> security purchase. Thanks.

@d-k-c
Copy link

d-k-c commented Feb 20, 2024

Your issue is similar to #23 You should +1 that issue to help it gain visibility

d-k-c pushed a commit to d-k-c/beangrow that referenced this issue Sep 10, 2024
When computing the returns of an asset, transactions of type
ASSET_DIVIDEND are not considered. That makes the return rate computed
by beangrow substantially different to rates reported by fund managers.

I could not find any justification as to why these transactions are
ignored when computing the return rates, and this seems to confuse me as
well as other users. See beancount#23 and beancount#26

At least with this small patch, users get a chance to try and see if
they get the result they expected.
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

2 participants