For exiting you can pass id of any childorder i.e. Target or Stoploss or csv of childorders.
Example: Assume you have Parent OrderId i.e. Entry OrderId Just call the GetChildOrders to get comma seperated list of childorders and pass it to ExitCO method
For exiting you can pass id of any childorder i.e. Target or Stoploss or csv of childorders.
Example:
Assume you have Parent OrderId i.e. Entry OrderId
Just call the GetChildOrders to get comma seperated list of childorders and pass it to ExitCO method
ChildOrders = Kite.GetChildOrders(ParentOrderId)
Kite.ExitCO(ChildOrders)