I run my Strategy and eventually an order is placed and filled. The strategy then automatically submits a stop-loss order. This order is submitted and, according to the Prints I have in the code, eventually reach an OrderState of 'Accepted', but never reaches a 'Working' Orderstate.
This is the order submission I use:
MyStopOrder = SubmitOrderUnmanaged(0, OrderAction.Sell, OrderType.StopMarket, Position.Quantity, <SomePrice>, <SomePrice>, "", "STC");
What would cause this to happen? Why would an order be accepted but never reach a 'Working' state?
Thanks,
Charlie
Comment