Order Status "Filled Quantity" field

apurvtwr
Hi,
I am using python client for communicating with kite.zerodha. When I call the following code :
kite.orders(order_id=None)
the resulting list of OPEN orders have a field filled_quantity which indicates how many quantity of the total quantity has been filled already. But when I use the code :
kite.orders(order_id=orderId) ## with valid order id
the resulting list of OPEN orders don't have filled_quantity field ? Why is that ?
  • sujith
    Hi @apurvtwr,
    Both are different APIs, getOrders() will return your orderbook but getOrder(order_id) returns lifecycle of an order in the system. Both APIs serve different purposes. Please go through documentation . For your purpose, I would suggest you to fetch orderbook and use it.
Sign In or Register to comment.