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)