We are using Publisher JS plugin in our application to place orders via kite. However I am not able to find how to set stoploss and target percentage in regular order via this plugin.
In the doc, it is mentioned stoploss and squareoff fields, but they are only for BO orders. How can I set these fields for regular orders?
it is not possible to set stoploss and target percentage using publisher plugin in a regular order?
No, not in the same regular order. But as another button, you will have to generate this dynamic button with the required SL and target(2 different orders) in fly once the base regular order is executed. You can use the publisher JS plugin.
You will have to place a stoploss and target order or use OCO GTT, once the entry order gets executed.
Because kite console gives option to set these percentages in a regular order