Tick data different from Website

vm87
The tick last price is usually atleast 0.30% off than the price i can see in the Kite website. Also the open and close are different values than the site data. How do i get accurate price data like that displayed in main site ?
  • sujith
    Hi @vm87,
    The source for the live market data is same for Kite and Kite Connect. Values can't be different.
    You can check on some other network to figure out the delay.
  • vm87
    If i put a delay of 1 second when i get every tick it will take 200 secs to get 200 tokens. The next time i get a tick, will it show the latest price or will it get the data from 199 secs ago ?
  • tonystark
    Hi @vm87,

    Our ticker implementation is not based on HTTP requests where you send a request and the server return tick values at that moment. Our implementation is a long-standing TCP connection which will continuously stream the ticks as the values changes in the exchange.

    So if you add delay to it you are delaying your program, not the tick data. If you are getting a tick after 200 seconds it will always be the live tick.

    Also if you want the legacy HTTP request mechanism you can use the quote API. With this, you can request for ticks in 1-second delay.
  • sujith
    @vm87,
    You may also consider using bulk fetch APIs, mentioned here.
Sign In or Register to comment.