Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Newbie NEEDs HELP ON IDEA !

Hello all !

I am currently new to using Quantopian and python but I have a question in regards to the feasibility of a particular idea I have.

Is it possible to have a buy order set up by which when stock (A) rises by a percentage (X) then I will also buy Stock (B,C,D,E) and then close the positions of (B,C,D,E after a timeframe (Y).

I hope that makes sense