I have created a strategy in strategy builder which submits an EnterLongStopMarket order at a certain condition. I like to submit an additional EnterShortStopMarket order and both orders should be combined as an OCO bracket order. As soon one gets filled the other one should be cancelled.
Currenty I have one single action in my set which does the EnterLongStopMarket() stuff. I added a new action in my set which does look like my existing EnterLongStopMarket() line with the difference that it is the command "EnterShortStopMarket()" and uses a lower stop price and another signal name. I had expect -although without OCO capability- that both orders would be placed when condition is true but only the Long Stop order is being submitted. Why do I already fail here on that step? Why doesn't the short stop position gets submitted? The log doesn't show anything.
How can I fulfill this task? Please point me to the right direction. Thanks in advance.
Patricia
Comment