I have a strategy where I open the following order :
IOrder orderAchat = SubmitOrder(0, OrderAction.Buy, OrderType.Stop, (int)10, 0, 10500, "", "mySignalName");
I try to close it with the following code after some time but that does not work, there is still an opened SELL position after :
Attempt 1 :
IOrder CloseOrder = SubmitOrder(0, OrderAction.Sell, OrderType.Market, 10, 0, 0, "", "");
IOrder CloseOrder = SubmitOrder(0, OrderAction.SellShort, OrderType.Market, 10, 0, 0, "", "");
Comment