I am trying to place bracket order for below scenario.
lets suppose current buy price 23500 CE is 100 rs
I want to buy if the price reaches 110 rs with SL of 90 rs and target of 120 rs.
So basically after the instrument is bought SL and target orders should be placed automatically.
Do try with this and let me know if you are able to do this. Note that Trigger will not work with BO as BO itself is a special order and trigger orders are separate which are placed separately on exchange.
We do not have only OCO order type available on APIs. It is clubbed with Basket Orders only.
Although we are working on something here, it will take some time for that. For the time being, if you are subscribing to the Live Market Feed, you can keep a condition wherein the order is only placed when you find the same price on top bid/ask?