API Support Forum
OEC API > Advanced Order Management > Invalid OCO order
Author Topic: Invalid OCO order
(2 messages, Page 1 of 1)
Moderators: VPfau
DBrubaker673
Posts: 55
Joined: Jul 18, 2007


Posted: Nov 05, 2007 @ 07:48 AM             Msg. 1 of 2
I'm trying to use Send an OSO order with 2 targets using OECClient.Global.SendLinkedOrders(main, linked)
The main order is Buy 2 YMZ7 MKT GTC
(The last price was 13536)
The linked orders are:
SELL 1 YMZ7 MIT 13541 GTC
SELL 1 YMZ7 STP 13516 GTC
SELL 1 YMZ7 MIT 13551 GTC
SELL 1 YMZ7 STP 13513 GTC


SendLinkedOrders() throws an exception "Invalid OCO order pair"
Can you tell me how to figure out what makes this invalid?

Thanks,

Dale
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Nov 05, 2007 @ 04:18 PM             Msg. 2 of 2
Sorry, but at this point we don't support server-side multi-targeted brackets in the API. You can implement them in your software.