Apprentice wrote:will consider it.
Can I, and how to achieve this.
Thanks apprentice. I've got this strategy working but I think OCO would be better. I dont know exactly how to encode this. I think it has something to do with valuemap. Change the "OM" to "OCO" or something like that. I dont really what else should be change.
valuemap.Command = "CreateOrder";
valuemap.OrderType = "OM";
valuemap.GTC = "FOK";
ContingencyID
--OCO, OTO, ELS
ContingencyType
0 not included in contingency group
1 part of OCO
2 OTO --use OrderIdPrimary
3 ELS --use OrderIdPrimary