Skip to content

portfolio_value calculated incorrectly #23

Description

@selvanponraj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions