Child Order Id format

YB0320
When a Bracket Order placed, the method kite.getchildorders of the kite Kite class object returns the child orders as a csv. Is it always in the format targetorderid,stoplossorderid? Also is it the same for Long and Short Positions. Regards.
  • HowUTrade
    @YB0320

    There is no specified sequence of child orders (i.e. target and stoploss).
    Child orders are stored as it is received.
    So the sequence may be anything like tgt,sl,sl,tgt or sl,sl,tgt,tgt etc

    But you can easily separate tgt and sl at user level using order type.
Sign In or Register to comment.