Hey, Since BO are blocked these days, I wanted to know how can I search and Square OFF MIS and CO orders for a particular script when target or SL is met (Only Target for CO) in the pending orders or positions for a particular script?
@sujith yes I had refered that already...I just want to programatically exit the CO or MIS position . I just need a hint on how to find a particular script open position and then exit it using EXIT command.(without the ORDER ID)
Thanks. One doubt though...is ORDER ID always needed to close an open position,,, OR we can pin point a position using SYMBOL and order Type?? (sample code would be helpful)
You can refer to this thread.