开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Place a Limit Order with 2 Profit Takers and 1 Stop Loss for a Stock


 

According to my knowledge/experience, the size/quantity of a child order attached to a parent order must have the same size/quantity of the parent order. Hence my suggestion to use two sets of parent and attached OCA child orders. By the way, the TWS API example in the link that you indicate should set the OCA attribute in the stop loss and profit taker orders to guarantee that if one order fills then the other is automatically canceled.

--

Join [email protected] to automatically receive all group messages.