How to get child order id OF BRAKET OR COVER ORDER ?

Mangesh
How to get child order id OF BRAKET OR COVER ORDER ? Can someone please post sample code ?
  • sujith
    Each order has a parent_order_id field, you need to use that to map the first and second leg orders.
  • Mangesh
    I have understood the concept.... but what functions to use to get list of all trades ? Any sample code to find the child ID please ??
  • sujith
    You need to fetch the whole orderbook and filter it out. You can check out the documentation here.
  • Mangesh
    As i said I understood the concept... I want to know after using following, how to parse through the Orders ?

    List orders = kite.GetOrders();

Sign In or Register to comment.