How to set stoploss percentage for regular orders using Publisher JS plugin

naman123
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?

Thanks
  • sujith
    The stoploss and target params are for the bracket order. It is not used anymore. We will update the documentation.

    You will have to place a stoploss and target order or use OCO GTT, once the entry order gets executed.
  • naman123
    Ok. So just to confirm, it is not possible to set stoploss and target percentage using publisher plugin in a regular order?

    Because kite console gives option to set these percentages in a regular order
  • rakeshr
    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.
Sign In or Register to comment.