Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Trying to figure out Buy Stop orders - are they supported?

I'm trying to enter buy stops but they are being filled in the back test even if the price hasn't gone above my buy stop price. Is this a Q issue? Are they not supported?

Anyone else having this issue? I'd love some feedback. I need to be able to place a buy stop that will convert to a market order once a price has increased above the buy stop price.

Note: this is not for shorting. This is a long only algorithm.

Thanks fellas.

1 response

Also, for what it's worth, I've tried both StopOrder and StopLimitOrder with the same results. It's just filling immediately.