Not able to find Regular SL order syntax.

shashi
Dear @HowUTrade ,
I am not able to find Regular SL order syntax. Pleas esupport. Since zerodha has stopped CO, now i am left with only option to shift to regular order. Please support how to send sl order after buy/short position?
Tagged:
  • HowUTrade
    @shashi
    You just need to pass OrdType as "SL" or "SL-M" with required TrgPrice and LmtPrice

    Pseudocode:
    1. PlaceEntry Order, call PlaceOrder function in a cell
    2. Track the entry order status in another cell using GetOrderStatus function
    3. Place SL order when entry status is 'COMPLETE'

    *Add necessary static variables to restrict multiple request
Sign In or Register to comment.