indices data not received from kite connect web socket on Java API.

gbdeepak
I have subscribed with instrument tokens for individual stocks and indices(nifty, nifty bank). I am receiving data via websocket for individual stocks but not for indices. I am using Java API. Is there some thing extra parameter we need to set for indices.
  • SRIJAN
    What's the error you are getting?? Websocket is working fine at my end for indices and stocks.
  • gbdeepak
    no error.. just data is not coming.
  • SRIJAN
    Paste your websocket code here.
  • gbdeepak
    thank you for kind response. I was able to resolve the issue. Issue was - indices data was coming, but tick.getLastTradedTime() is null for indices, i was not validating this, due to which an object creation was failing.
    Thanks.
Sign In or Register to comment.