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

Q: use order_buy_option_limit() to buy_to_close (a position that is sell_to_open earlier), what should be the creditOrDebit paramter? #478

Open
mw66 opened this issue Jul 3, 2024 · 0 comments

Comments

@mw66
Copy link

mw66 commented Jul 3, 2024

Hi,

I want to close a position that is sell_to_open earlier, to use the order_buy_option_limit() function:

https://robin-stocks.readthedocs.io/en/latest/robinhood.html#robin_stocks.robinhood.orders.order_buy_option_limit

should the creditOrDebit paramter be passed as ‘debit’ or ‘credit’?

Thanks.

@mw66 mw66 changed the title Q: order_buy_option_limit() to buy_to_close (a position that is sell_to_open earlier), what should be the creditOrDebit paramter? Q: use order_buy_option_limit() to buy_to_close (a position that is sell_to_open earlier), what should be the creditOrDebit paramter? Jul 3, 2024
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