I would like to get realtime PNL in my algo but the Positions API is not giving realtime data. There is a very significant delay in Positions API. What is the alternative?
@sujith I tried that formula as well. pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier); but then also its the same. I used lastprice from the Positions API. Should I be using the lastPrice from websocket?