Hi I have seen this behaviour with positions, this is also applicable to holdings. You might need depend on the websocket or /quote api to get the latest prices.
I think even kite web application is dependent on the web socket to get the latest prices. So we also have to follow same. Observe that when you hard refresh web page in kite, it shows some different prices for a moment and then latest prices are shown (websocket does that)
Positions API will not provide the live market data. We suggest using Quote API or Websockets API to fetch the live market data and calculate P&L at your end.
I have seen this behaviour with positions, this is also applicable to holdings.
You might need depend on the websocket or /quote api to get the latest prices.
Observe that when you hard refresh web page in kite, it shows some different prices for a moment and then latest prices are shown (websocket does that)