I have a simple strategy that has ExitLong and ExitShort orders with connection to real account in interactive brockers.
Sometimes (approximately once per every 5th trade), it exits twice and also opens an additional order in IB.
Orders are triggered from OnMarketData() method and calculated by ticks, but it works with OnCandleClose.
Example: Opening Long position with 5 contracts and exiting with 5 contracts, and opening an additional Sell 5 contracts order showing on chart 2 ExitLong orders.
No messages in the Log.
Is that known issue and how I can ensure that no additional positions opened after exiting positions?

Comment