It looks like you're new here. If you want to get involved, click one of these buttons!
orders = kite.orders()
for order in orders:
if order['order_id'] == order_id:
avg_price = order['average_price']
But above code does not tell correct price for iceberg order and only tells entry price of 1st leg of the order. How to know correct entry price of an iceberg order?