@madhavthkr
"tradingsymbol" is the key to identify the position
Position ID is not there to identify the position
"netqty": will tell it is a open position or not
if "netqty" is zero means position closed
otherwise still position is open and not yet closed
if "netqty" is grater than zero means we are in Long position
if "netqty" is less than zero means we are in short position
what else details is required ?