Hi I tried searching the forum but couldnt find a solution thereby had to post this query. Supposedly I have placed a BO for 10 lots to buy DHFL future to buy at 220 with target of 223 and SL of 217. Now out of that order, if only 9 are executed at 220 and they reach the target of 223, there is still 1 lot which is pending which need to be cancelled. My question is what would be the order id to cancel that particular future? Will it be the same order id of that 9 executed futures? Or a different one, and how can I get that ID programatically.
Thanks in advance and hope you can answer this query as early as possible