Trail SL didn't work

chiragkeswani
Hi,

Below are the order details. The trail SL didn't work. Can you get this checked by OMS team please?

Script: PIDILITIND
Trans: SELL
Limit: 791.85
SL: 7.9
Trail SL: 1
Target: 34.2

Price moved down till 781, but SL was still at 799.75.

Regards-
Chirag Keswani
  • sujith
    Hi @chiragkeswani,
    It seems like stop-loss was modified somewhat like this 799.75 --> 785 --> 787 --> 790
  • chiragkeswani
    Hi @sujith,
    Any traces/evidences to support it? Also, why would the SL increase, ideally it should be in reverse order?
  • sujith
    Hi @chiragkeswani,
    You can get order status logs using this API. Order status logs are cleared after BOD is done. We only have order logs for history orders.

    Stop-loss will only trail if the trend is in your favor. If it is against then the system will not modify the order in reverse direction instead when the trigger is hit system will square-off the position.
  • chiragkeswani
    Thanks @sujith, I understand that you checked through logs. The SL change flow you mentioned was manually done. My initial query still remains, why did SL didn't trail though the price moved in my direction.

    Also, the API you mentioned, do we have that in KiteXL as well?
  • sujith
    Hi @chiragkeswani,
    KiteXL is by @botany02, I am not sure if KiteXL provides it or not?

    Do let us know if this happens today. We will check and get back to you.
Sign In or Register to comment.