I can't solve a problem. I have an automatic unmanaged strategy, which, under certain conditions, automatically places a buy/sell order. When a buy/sell order is entered, the, "stop-loss" and "target" oco orders are automatically entered as well.
When the internet falls the "stop-loss and "taget" orders are canceled. I don't know how to resolve this situation, I tried to change "StartBehavior" with all the possible options, but I can't get the account position to be able to enter the orders.
Same solutions? How can I know the status (LONG, SHORT) of the executed order (buy/sell) on that market? How do I place "target" and "stop-loss" orders again?
Thanks Alberto

Comment