The trace of the section we are interested in is in the attachment.
According to our logs, the OnExecutionUpdate method was called on 2023.04.17 16.32.36.423.
After processing the logic in the method, we check the position at 2023.04.17 16.32.36.441 and at this point Quantity=0 and MarketPosition=Flat
Comment