status:What are the valid values for this field? The doc pages mention "COMPLETE, CANCEL, REJECTED, UPDATE". Is that the full list?
Partial Fills:What is the status field value for Partial Fill update messages? Is there a status value for this or do we have to calculate it from the filled_quantity, unfilled_quantity and pending_quantity fields?
variety: What is the list of valid values for this field? Docs only mention "regular".
order_type:What is the list of valid values for this field? Docs only mention "MARKET".
transaction_type:What is the list of valid values for this field? Docs only mention "BUY". Is it only "BUY" and "SELL" or are there other values?
validity:What is the list of valid values for this field? Docs only mention "DAY". What are the values for IOC and Minutes (as in Kite UI)
product:What is the list of valid values for this field? Docs only mention "CNC"
price:Doc mentions "Price at which the order was placed (LIMIT orders)". What about SL and SL-M Orders? Will this field be 0 / NaN for MARKET orders?
cancelled_quantity:Documentation mentions "Quantity that had been cancelled". When does this have a valid value?
Would request Zerodha people & other Forum users to please help answer these open questions. Or point me at the right place.
We suggest using the order_update via Websockets API or postback as an event to fetch orderbook and check the latest status and filled_quantity to know the latest update about the order. There are multiple edge cases (like redundant update, aysnc behavior of postbacks) that are not handled by the OMS Hence we suggest this approach.
We suggest using the order_update via Websockets API or postback as an event to fetch orderbook and check the latest status and filled_quantity to know the latest update about the order. There are multiple edge cases (like redundant update, aysnc behavior of postbacks) that are not handled by the OMS Hence we suggest this approach.