As the internet is not guaranteed to remain connected at all times, does Ninja perform atomic operations to IB (and other trading platforms) to ensure that OCO bracket orders are correctly placed at the IB trading servers at the same time entry orders are placed?
I have seen a situation where an order was placed to take a position and when the OnExecution event arrived, stop loss and profit OCO orders were to be subsequently placed and associated with the open position. During the interviening time between the initial order being placed and the order being filled at IB, the internet connection to the client PC failed (for an extended period) and a naked order was left active on the account. When the connection was subsequently recovered, the market had moved against the account resulting in a significant loss to the account.
Does the SetStopLoss method provide the ability to perform an atomic OCO order simultaneously when the initial order is placed?
I'm developing for NT7 and I see there is an entry for "Unmanaged" orders however this section of the documentation only contains "Enter topic text here"
Regards,
Paul
Comment