Dear Orionn,?
May I ask how can we trigger the stop-loss order modification a profit taker order fills??
Thank you.
Hao
toggle quoted message
Show quoted text
On Thu, Feb 4, 2021 at 09:57 AM, Orionn wrote:
My suggestion is that you create two sets of orders. Each set includes the parent limit order and two attached OCA child orders (profit taker and stop loss). The limit price of the profit taker orders is different on each set of orders. To update the stop loss orders, just monitor the status of the profit taker order in the first set (wait for a fill) and then place the stop loss orders again with modified prices. You may simply trigger the stop loss order modification when the first profit taker order fills. Hope this helps.
--
?Dear Orionn,
I just read your reply