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

'Invalid Good Til Canceled order.' when selling stocks #502

Open
rjmehta1993 opened this issue Nov 5, 2024 · 0 comments
Open

'Invalid Good Til Canceled order.' when selling stocks #502

rjmehta1993 opened this issue Nov 5, 2024 · 0 comments

Comments

@rjmehta1993
Copy link

Buy works fine. but when i sell, below is the error

stock_symbol = 'NVDA'
rh.order_sell_market(symbol=stock_symbol, quantity=1)

OUTPUT:
-> rh.order_sell_market(symbol=stock_symbol, quantity=1)
-> Out[5]: {'non_field_errors': ['Invalid Good Til Canceled order.']}

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