I'm using IBController (1.1.1). I use the following code.
ibc = GetTradingInterface("IB");
if( ibc.IsConnected() )
{
parentID = ibc.PlaceOrder("PANC", "BUY", 300, "STPLMT", 6.97,
6.9,"GTC", False);
ibc.PlaceOrder("PANC", "SELL", 100, "LMT", 7.11, 0, "GTC", False,
100, "MyGroup", parentID );
ibc.PlaceOrder("PANC", "SELL", 100, "STP", 6.5, 6.5, "GTC", False,
100, "MyGroup", parentID );
}
I don't get "MyGroup" as OCA group value. Also, I tried to
ibc.ModifyOrder to change OCA group for the bracketed order but it
didn't change OCA attribute. Is it a API limitation or I'm missing
something?
My main issue is that I would like to attach 2 set of brackted order
having different OCA group for each set.
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/