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

[Bug?] [Robinhood] How to sell a stock? -- Invalid Good Til Canceled order. #529

Open
worthapenny opened this issue Dec 31, 2024 · 0 comments

Comments

@worthapenny
Copy link

Hi,

I am logged in, I can see the stocks I owned and other parts of the API are working. When I try to sell a stock by calling

rh.order_sell_market(symbol='ABCD', quantity=1),
I am getting
{'non_field_errors': ['Invalid Good Til Canceled order.']}

I don't think I am missing anything here so I suspect it's a bug. At the same time, this is probably one of the core end-points that shouldn't fail.

Anyway, open to your suggestions if you want me to try a few things. Thank you!

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