Is there a way to place a normal order for options and then add Target/SL after execution through API?
In simpler terms, can I place an intraday Buy/Sell order for options at market price and after order execution can I set target and stop loss on that position based on the executed price?
It is like placing a market order and later converting/modifying it to a bracket order.
You cannot convert
productType for an order after it has been placed. What you can instead do is place a normal Intraday order, and once it has been placed, you can place another SL-M order (stop loss market).
Or you can place a BO order with wide Target/Stop Loss and later modify these legs as per execution price.
Yes my system does follow the latter suggestion with other brokers. Place a BO with wide SL/Target and then modify as per buying average.
But to place a BO we cannot get LTP of the option with Dhan so even wide targets and SL is not possible.
Anyway, thanks for your inputs!