I have placed many BO for many scripts(like BHEL, SBIN, RELIANCE) and some of them gets executed. Now i want change target price of 1 (SBIN) How to do it.... how can i find order id 's of limit orders automatically placed after main parent BO gets executed (it will be many, if main order gets executed in tranches).
Hi,
After order placing is successful, you get order id. You can use that to find child orders(second leg) orders.
Once you fetch orderbook, you need to look for orders with parent order id same as first leg order.
After order placing is successful, you get order id. You can use that to find child orders(second leg) orders.
Once you fetch orderbook, you need to look for orders with parent order id same as first leg order.