Hello, sujith sir
I am in a pickle and need you'r help on this
Now I am going to present a case in front of you
say, that today I shorted one PE and one CE (attributes order:market, variety:RGLR, validity:day) manually with kite app. Now I want to automate the tracking of the combined premium of this trade with python and when it hits my desired SL I want to square off the trade meaning I want to close both the trade.
so, what function to use or which method for this. provide me the solution for both cases MIS and NRML product type.