Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Beginner needs help!

All I am simply trying to do is force a 'buy' when the price of a security raises to 1% from the opening price, and then subsequently selling it when it raises a hair more to 1.1%. Does not seem to want to make any purchases...

1 response

Your math is wrong on the buy and sell prices.