Let's say in my IB account I have 100 shares of SPY that I don't want to mess with. If I deploy an algo into that account that buys some SPY in the morning, and then has an " order_target_percent(context.SPY, 0) " scheduled at the end of day for SPY set to 0%, will the algo sell ALL my SPY or just the amount it purchased in the morning?
Thanks for the help!