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.
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.
Thanks.