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

How can i make marker order to buy stock immediately #437

Open
ShaadyEmad opened this issue Sep 14, 2023 · 1 comment
Open

How can i make marker order to buy stock immediately #437

ShaadyEmad opened this issue Sep 14, 2023 · 1 comment

Comments

@ShaadyEmad
Copy link

i try all functions but all buy functions make order limit not order market

i notice that when i buy from website with quantity it make order limit and when i buy with amount it make order market thats from robinhood website
so i think the problem is when function try to send request with quantity it lead to order limit ,i think the idea is to make request without quantity and with amount only ,but when i try to do this , I got an error saying that I must send the quantity.

@Adelantado
Copy link

I do not buy by quantity but for what is worth order_buy_fractional _by_price works for me by just passing the ticket symbol and the dollar amount; with the exception of the occasional rejection as described on #423. Hope it helps.

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

2 participants