Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Seeking help for trading in Robinhood Instant Account

Hi,Everyone.

I'm a newbie in python and programming.Can someone help me code this strategy for Robinhood Instant Account:

I will input 5 stocks manually-A,B,C,D,E in quantopian at 15:57 EST for every trading day.

Every stock will take 10% of buying power to buy at mkt price at 15:59 EST at the same time( 5 stocks will use half buying power).

The second day:
If gap up is even or higher than 5%,close it out at mkt price right away or at 9:31 am(choose the easier one to code )
If gap up is less than 5%,then close them out at 15:56 EST at mkt.

Thank you guys

JX

1 response

Your best bet would be to publish your list of 5 stocks in a file somewhere web accessible and set up your algorithm to download and utilize the stocks in that list. Then write your algorithm to do the rest of it automatically. One thing to keep in mind is that your algorithm may not run if you schedule it past 15:50 EST. Another thing to consider is that it might not run at 9:31am. It also might take time to fill your orders. For example, your order could go to the broker but the broker might not have shares available to trade immediately. If you want to time things down to the few minutes surrounding close and open, this probably is not the platform for what you want to do.