Is there any simple way to know all active position? I gone through old thread and understood that if I have a buy quantity > 0 then its open position. But it sending me positive quantity for orders which I have exited also , I mean for order for which BUY and SELL both are complete.
Does anyone have idea about how to get all active position? From active position I mean that BUY is complete and SELL is yet to be executed?