Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
setting hard stop

Dear all,

correct me if i am wrong but it seems like I am unable to place a hard stop loss upon entry? I read that quantopian cancels all open orders i.e. if my stop loss is not hit, it will be cancelled and I would be unable to keep this hard stop on?

I am testing out basic algo.

I plan to enter if MA1 cross above MA2, exit if MA1 cross below MA2 OR if it hits my stop loss which is 0.9*entry price.

Appreciate your advices!

Regards,
MH