I am using Python and Zerodha Kite connect API for options trading.
I created a program code to to exit the position when the pnl<-quantity. ie. if I have a position i