In a perfect example where all my entry got filled (qty=10) at a single go, i will submit takeprofit order with qty=10 and stoploss order qty=10.
Say market moves slowly and my entry got filled in batches (3, 3 and 4), do i create/submit 3 x takeprofit order objects and 3 x stoploss order objects ?
example:
1) entry filled (qty3)
takeprofitA = ExitLongLimit(qty=3) and stoplossA=ExitLongStopMarket(qty=3)
2) entry filled (qty3)
takeprofitB = ExitLongLimit(qty=3) and stoplossB=ExitLongStopMarket(qty=3)
3) entry filled (qty4)
takeprofitC = ExitLongLimit(qty=4) and stoplossC=ExitLongStopMarket(qty=4)
Or am i looking it wrongly ? Or should i be using SubmitOrderUnmanaged() for my oco?

Comment