kite.positions not giving correct values. I read already in the forum that we need to maintain buy and sell and calculate PnL accordingly. But it's not my case. I am basically a discretionary trader. I only want to use algo script for the emergency portfolio SL. So, I will be entering trades manually but if in case some unexpected event happens and loss goes greater than 2%, I need to square it all. So, I am trying to poll using kite.positions and calculating PnL. But it was giving old value and not real-time value. how to handle this case? Entry manually but emergency SL using algo.