how to differentiate open & executed order while retrieving order through api.kite.trade/orders

mastertrader21
Helllo team,

I had hard coded the values for the status open & executed module.
For example for open order the JSON object should have status as not complete & not cancelled.
And for executed order the JSON object should have status as complete & cancelled.

But now I saw many more status such as :-

open order:- OPEN,AMO REQ RECEIVED,TRIGGER PENDING
executed order:- COMPLETE,REJECTED,CANCELLED

So how would I differentiate them & show in respective module.

PFA


Please do the need-full.



This discussion has been closed.