Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Buying Stocks from a Pipeline Screen Under Specific Conditions

Howdy!

I have designed a pipeline screen that outputs 3-5 different stocks each day. I am interested in writing a code that will allow these stocks to be purchased only if they fall under a certain price (under 90% of their price at market open), and then sell if they increase by 5% of the purchase price.

Could someone point me in the right direction for how I would write a code which takes a set of stocks from a screen and then purchases them only if they fall below a certain price?

Any help is much appreciated!
Tyler

1 response

Is this possible, anybody? Halp plz.