Can anyone help me please how can I write Stop loss order as OCO order? I don ´t know what I have to use as "MYGROUP" in this sintax.
I need cancel order used as stoploss when I close position.
ibc.PlaceOrder("MSFT", "BUY", 1000, "MKT", 27, 0, "GTC", False );
ibc.PlaceOrder("MSFT", "SELL", 1000, "STP", 28, 0, "GTC", True, 100, "", 0, "MYGROUP" );
Thanks Jan