Pre connection loss:
Strategy was Long with a Target and Stop (oco).
During connection loss:
Target was filled. So my broker account was Flat.
After re-connection:
NT knows nothing about the Target being hit. So strategy incorrectly reports MarketPosition.Long, and will not do anything because it just waits for an update from either the Stop or Target orders.
Looking at the NT Orders I see it has marked the Target and Stop orders with Status (OrderState)=Unknown.
Question: Is there any way I can force (preferably in code) the NT Target and Stop order objects to resync from the correct status on the Broker's server?
Comment