why there is price difference in zerodha site & websocket?

example: I want to fetch LTP for IDEA Future price,

In kite, I am checking the price for IDEA JUL FUT
& in WebSocket I am checking Instrument token: 11654146 or trading symbol: IDEA20JULFUT.

Both the prices are not the same, am I using the right token? what is the correct token?
  • sujith
    Is this intermittent or consistent?
    Where are you hosted?
    Since when do you see this behavior?
  • m80l
    It is consistently different. Back to basics, Is "IDEA JUL FUT" (kite) & "IDEA20JULFUT" (WebSocket) the same?
  • sujith
    It is the same. The source for live market data on Kite web and Kite Connect are the same. We will inspect tomorrow and let you know the updates.
  • m80l
    Thanks for the help
  • rakeshr
    We checked for last_price on both Web ticker and Connect Websocket Streaming. Values are matching fine. Are you adding any static delay in your Websocket code at your end? Any close connection or re-connection happening? Maybe paste Websocket code, we will take look.
  • m80l
    sorry, It was a program error from my side. before closing can you give me info. on how to fetch margin for a given FUT token in kite connect?
  • sujith
    Hi @m80l,
    Please create a new thread, it might help others who are looking for the same.
This discussion has been closed.