-
Notifications
You must be signed in to change notification settings - Fork 6
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: Issue with Dividends? #26
Comments
That's wild. Can you share an export of that portfolio so I can take a look? |
Disregard the request for an export. Looks like you are using the hosted version as well. Seeing multiple rows in the |
Hi @tynorton, I've identified the issue and it should be resolved by the referenced commit above. I am tagging a new release now. Hoping you can confirm this resolves the issue? Even once you update, you may still have erroneous dividends. To clear the previous / erroneous dividends, you can use the following query which is what I just ran for the hosted version: WITH RankedDividends AS (
SELECT
id,
symbol,
date,
dividend_amount,
ROW_NUMBER() OVER (PARTITION BY symbol, date ORDER BY id) AS row_num
FROM dividends
)
DELETE FROM dividends
WHERE id IN (
SELECT id
FROM RankedDividends
WHERE row_num > 1
);
|
Problem
Seeing a very large sum that doesn't make sense in dividend view for AMAT symbol.
Expected
Dividend values should make sense
The text was updated successfully, but these errors were encountered: