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

Fix bug with balance not getting updated for action REINVEST_SHARES #469

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

amaramrahul
Copy link
Contributor

No description provided.

@vmartinv
Copy link
Collaborator

can you add a test in test_calc.py with this action?

@amaramrahul amaramrahul force-pushed the fix-bug-with-reinvest-shares-action branch from 32ae828 to 863861d Compare January 26, 2024 13:28
@amaramrahul
Copy link
Contributor Author

I have just realized that my diff can be simplified by grouping the actions of ActionType.BUY and ActionType.REINVEST_SHARES. I guess this obliviates the need for additional test cases.

@KapJI
Copy link
Owner

KapJI commented Jan 29, 2024

Thanks!

@KapJI KapJI merged commit 51c99d7 into KapJI:main Jan 29, 2024
3 checks passed
@KapJI KapJI added the bug Something isn't working label Jan 29, 2024
@amaramrahul amaramrahul deleted the fix-bug-with-reinvest-shares-action branch February 1, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants