The example demonstrates placing protective orders to protect the position in OnStateChange() during State.Transition.
Can you clarify on what on you trying to handle?
Are you still trying to handle matching orders previously placed by the strategy in real-time on a previous run?
If so, this will not work unless there are historical orders being placed that can match the real-time orders.
Comment