hello community,
I am facing a problem with generating bracket orders.
lets say i'm generating a bracket order with parent,take-profit,and stoploss.
i'm sending the order with different quantity for the stoploss and takeprofit.
for example:
the quantity of the parent is 1,
the quantity of the profit is 3,
the quantity of the stoploss is 4.
?
the order is being transmitted into the TWS with transmit = false , and everything is?
good.
?
?
but the problem comes when i hit transmit to the parent, automatically the quantity of both
take profit and stoploss is changing to the quantity of the parent.
why it changes and not remain the same quantity ?
you can see that it was 3 and 4 - and after pressing transmit it changes to 0 , 1 , and 1??
?
?
pic1:
?
pic2 (after submitting):

?
?
?
?
?