Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Robinhood tire-kicking algo

Here's the simplest algo I could think of for Robinhood. The idea is to put up $500 of my hard-earned capital, and entrust it with a couple start-up fintech outfits, namely Quantopian and Robinhood.

It would be nice to explicitly exclude ordering anything but SPY. However, I don't see a way to do this.

Any guidance from those who have done Robinhood trading? Anything I should change in the code?

4 responses

I am brand new here, and don't even know programming very well (I'm here because I want to learn how to make my investing ideas into algos) but what is your objective here?

The objective is to work through a simple algo that could be launched on Quantopian/Robinhood, without unnecessary cost and risk (other than the market risk of being in SPY). It is pointless as a trading strategy--it is just to get a feel for how everything works, and then iterate from there. A learn-by-doing approach, which with Quantopian/Robinhood is feasible without putting up a lot of capital that would be missed if lost.

I think your orders will be rejected more often than not. I say this because you use "order_target_percent(spy, 100%)" and Robinhood treats market orders as limit orders @ 5% above the price. In this case you will be trying to order 105% which you can not do in Robinhood.

https://www.quora.com/How-does-Robinhoods-5-mark-up-on-all-market-orders-work

Hi Georges Bilan,

That is great feedback. I am not the OP, but you answered a question I didn't even know I had.