On 2002-06-18 9:13, "BrianL_98" <brianl_98@...> wrote:
The IB documentation for OCA orders via the TWS API is pretty thin.
The only thing I can find is that the string OCA property "identifies
an OCA group."
Does anyone know how to go about actually placing OCA orders using
this property? Am I supposed to submit two orders, and then change
the OCA property to include the order id of each of the orders?
As with many features, OCA functionality is parallel in the API and the GUI,
so reading the TWS docs on this would be a good idea.
The OCA string is an identifier assigned by you to group orders together. If
an order with an OCA string set is executed or cancelled, all other orders
with the same string will be cancelled.
-- Elliot