Finding a open position

ganeshv02
Hi,
What is the return type of kite.positions() in python? Does it return a list or dictionary or mixed dictionary?

I want to find out if I have a open position of tradingsymbol: NIFTY20SEPFUT for example. If it is there then the algo has to continue monitoring the position instead of buying/selling a new one.

How can I traverse through list of kite.positions?
This discussion has been closed.