jmfernandes / robin_stocks

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at
http://www.robin-stocks.com
MIT License
1.74k stars 467 forks source link

Orders placed in the early hours (before the market opens) through robin_stock on Robinhood are wrongly scheduled for the next day #345

Open emmanuelsalawu opened 2 years ago

emmanuelsalawu commented 2 years ago

I noticed that stock orders placed in the early hours (before the market opens) through robin_stock on Robinhood are wrongly scheduled for the next day rather than scheduled for execution immediately or, at worst, when the market opens on that same day. This is not the case for orders submitted through the Robinhood App or on Robinhood's website. So, the Robinhood account is not the problem.

For example, if I submit an order to buy AAPL at 7:46 AM on Monday (with Early Hours: 7:00 to 9:30 AM) through the robin_stock and I set timeInForce='gfd', extendedHours=True and I check the status of the submitted order on Robinhood App or on Robinhood's website, it shows that the order will be executed on Tuesday. I think this should not be the behavior. Could I be missing something? I observed this behavior with rbh.order_buy_limit, rbh.orders.order, and rbh.order_sell_limit.

Any suggestions? Is there a way around this? Thank you.

eilin75 commented 2 years ago

I have the same problem

emmanuelsalawu commented 2 years ago

Can anyone, kindly, help to look into this or suggest how to resolve this? Thank you.

@jmfernandes, what do you think about this, please?