I want to get my active positions via python Kite API.
If I use kite.get_positions()["net"] , I get all my positions including sold holdings. But I only want those positions, which are active (like shorting a stock, buying a stock using MIS etc). How can I do that?
I am trying to exit all my intraday positions using kite API before 3:20