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

portfolio_value calculated incorrectly #23

Open
selvanponraj opened this issue Jun 19, 2024 · 0 comments
Open

portfolio_value calculated incorrectly #23

selvanponraj opened this issue Jun 19, 2024 · 0 comments

Comments

@selvanponraj
Copy link

I think there is logic mistake in this line

https://github.com/2018kguo/RobinhoodBot/blob/f05c4b7b806aa59281b3c02fd80c86a37d1c4943/robinhoodbot/main.py#L235C1-L236C1

instead it should be

portfolio_value = float(profile_data.get('equity'))

it should not - cash to get the portfolio_value.

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

1 participant