Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Help - cancel order!

Hi,

I have a basic execution strategy on 3min chart. The issue i'm facing is, how can i cancel the Limit or Stop order once one is hit. e.g, if the limit is hit the stp order remains till the end of day whereas i want it to be cancelled at same time the limit is reached and vice versa.

would appreciate your help.

Thanks
Khobaib