My strategy is required to enter using a limit order and exit either using a set stop loss/profit target or if close price hits a particular indicator value, whichever is earliest.
However, on Monday, while trading the NQ, after I entered a long position my profit target was hit as the particular indicator value was reached and I exited out of Market. However, another exit market order was executed at basically the same time which means that I was net short a contract when my entry conditions were no where close to being satisfied.
Today, I see this popup on NT8, which I suspect is at the core of the issue.
"Rithmic and Interactive Brokers Users: When using a NinjaScript strategy it is best practice to only work with passed by value data from OnExecution. Instances of multiple fills at the same time for the same instrument might result in an incorrect OnPositionUpdate, as sequence of events are not guaranteed due to provider API design."
My question is this: my current strategy built from the strategy builder is meant to update on each tick. Is there a way, from within the strategy builder to change it to 'On.Execution' so that the problem I describe above does not happen again?
Do let me know if you need any other info from me.
Thank you!

Comment