delay in kite.positions() prices

hanzzo
what's the max delay in fields like "last_price" in kite.positions?

it's definitely more than 15 minutes. i don't see it documented anywhere.
  • hanzzo
    why a simple question like this takes so long to answer?

    and why is something like this not clearly documented?
  • Nivas
    It's not recommended to poll position APIs to fetch last_price; it gets updated arbitrarily with a slight delay. It is thus not possible to provide accurate, real-time P&L with an HTTP response, and the recommended way is to use WebSockets/quotes and consume real-time data and compute P&L.
  • hanzzo
    which is why i'm asking what's the max delay.

    i am not looking for real time but i need some idea how much the delay can be.

  • Nivas
    which is why i'm asking what's the max delay.
    The timing of these updates can fluctuate depending on certain factors. As a result, we aren't able to provide a definitive timeframe for the delay.
  • hanzzo
    hanzzo edited February 12
    so at 3:30PM i can possibly get price from 9:15AM??
Sign In or Register to comment.