How to fetch only open positions in the trading account

Hi All,
I want to get only open positions from my account.
I used "kite.positions()", which is fetching all the open and closed positions. How to filter for only open positions?
else is there API method is available to get only open positions?
Sign In or Register to comment.