Can I get the parent order id for my bracket orders by fetching positions from kite API? if yes then how if no then please guide me how to get the parent order id from existing open positions. For modifying the Open Bracket Orders.
Hi @sunnypatel, Kite Connect doesn't provide order details in the positions. In order to find the second leg of the bracket order, you need to find the order with the same product, tradingsymbol and which is not completed, canceled or rejected.
Kite Connect doesn't provide order details in the positions.
In order to find the second leg of the bracket order, you need to find the order with the same product, tradingsymbol and which is not completed, canceled or rejected.