Hello, When I place an iceberg order with multiple legs using place_order() API, then I get the order_id of only the 1st order. How can I use python API to fetch order_id's of all orders under an iceberg and track them? Is there a way to fetch all orders corresponding to a particular 'parent_order_id' or 'tag' ? Can you confirm that all orders under an iceberg will have the same parent_order_id or tag ? Thanks.
When placing an iceberg order using the Kite Connect, the place_order() API returns only the parent order_id. Iceberg legs are created sequentially, and each leg appears as a separate order only after the previous leg is fully executed. All iceberg legs share the same parent_order_id, which is the correct and reliable way to track them. There is no dedicated API to fetch orders by parent_order_id, so the expected approach is to call orders() and filter it using the parent_order_id.
place_order()API returns only theparent order_id. Iceberg legs are created sequentially, and each leg appears as a separate order only after the previous leg is fully executed. All iceberg legs share the sameparent_order_id, which is the correct and reliable way to track them. There is no dedicated API to fetch orders byparent_order_id, so the expected approach is to callorders()and filter it using theparent_order_id.