Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Order target percent 0 leaves open order?

Good afternoon community,
I was curious if anyone was having an issue with an order_target_percent(context.stock, 0) creating an open order even if you already own 0% of the stock? I am unsure if it is interfering with the next line of
if scenario:
if not get_open orders:
order_trget_percent(context.stock,99)