Is a decimal trailing SL value not allowed in BO?

chiragkeswani
Hi,

I placed a BO order with a trailing SL 1.2, but the order didn't show in Orderbook as Cancelled/Rejected. Is it due to the decimal value trailing SL?

Regards-
Chirag Keswani
  • sujith
    Hi @chiragkeswani,
    For bracket order, the minimum value of trailing stop-loss is 1 and you can give 1.2 trailing stoploss. You can fetch orderbook and check rejection reason or go to order details on Kite Mobile or Kite Web.
  • chiragkeswani
    Hi @sujith ,

    Thanks for your reply, but there is no entry in orderbook. I placed the order through API. For orders with trailing SL as 1, they are getting executed properly. This was the first order with a decimal value trailing SL.

    So you are saying I can put any value for trailing SL greater than 1, i.e. 1.15, 1.2, etc.

    Regards-
    Chirag Keswani
  • chiragkeswani
    Hi,

    I checked again. The first time trailing SL was placed as 1.15, which was not accepted. I tried placing the same order manually and it gave a message trail tick should be in multiple of 0.05, which actually was correct, but don't know why it didn't accept. Then I tried placing the same order with 1.2 trail SL and the order went through.

    Will keep an eye on future orders as well.

    Regards-
    Chirag Keswani
  • chiragkeswani
    Hi,

    Anyone facing similar issue? Trail SL of 1.1, 1.2, or 6.4 etc also not working for some orders. Error is the same, trail tick should be multiple of 0.05. Then why is 1.1 or 1.2 not allowed?

    Regards-
    Chirag Keswani
  • sujith
    Hi @chiragkeswani,
    Can you let us know the scrip name?
    We will check and get back to you.
  • chiragkeswani
    Hi @sujith,
    Today it was EICHERMOT. I do not remember previous ones.
    I am keeping SL and target values rounded to 0.05 and Trailing SL rounded to 0.1. Can this also be causing the above issue?
  • sujith
    @chiragkeswani,
    Please mention stop-loss, target and trailing stop-loss values also.
  • chiragkeswani
    Hi @sujith,

    Sorry for the delayed response. Was waiting for the issue to re-occur.
    Today's trade details:
    Script: BHARTIARTL
    Transaction: SELL
    Qty: 234
    Limit price: 426.05
    SL: 4.3
    Target: 31
    Trailing SL: 2.2
    Issue: Trailing tick should be multiple of tick size 0.05

    I have modified my code to round all values to 0.10 except the limit price, which is rounded to 0.05.

    Regards-
    Chirag Keswani
  • sujith
    Hi,
    We have informed the OMS team. They are looking into this.
  • chiragkeswani
    Thanks @sujith, here's another one for today 16-10-2017

    Script: GUJGASLTD
    Transaction: SELL
    Qty: 110
    Limit price: 909
    SL: 9.1
    Target: 25
    Trailing SL: 4.6
    Issue: Trailing tick should be multiple of tick size 0.05

    Regards-
    Chirag Keswani
  • Kanchana
    Here is another one. Order didnt go through, using API.
    Scrip - SHRIRAMCIT
    TSL - 1.1

    Unhandled rejection StatusCodeError: 400 - "{\"status\": \"error\", \"message\": \"Trailing Tick should be multiple of tick size 0.05\", \"error_type\": \"OrderException\"}"
  • sujith
    @Kanchana,
    We have informed OMS team, they are looking into this.
  • Kanchana
    @sujith thanks for the update.
Sign In or Register to comment.