Thanks Sujith. Can you please confirm this understanding about position's quantity:
If quantity < 0, it's a CNC holding sold;
If quantity = 0, its a intraday position (MIS) settled (squared off);
if quantity > 0, it's a open intraday position…
Also, in Kite website, a position is shown as "Sold Holding" if it was a holding exit. What's the equivalent field in kite API response when I fetch positions.