Not getting Ticker for few stocks

Priyahanda
Hello,

I m not getting ticker for following even after subscribing it. Through the same code, I m getting ticks for other stocks like Reliance, HDFC etc...
ITC (424961)
ICICIBANK (1270529)
HCLTECH (1850625)
LT (2939649)
  • Priyahanda
    @sujith - can u please comment on above?
  • sujith
    Can you elaborate? Are you saying you are not getting even the first tick also?
  • Priyahanda
    @sujith - yes, not getting even first.
  • sujith
    It seems fine at our end. Did you check what is the error?
  • sujith
    Have you set an error listener?
  • Priyahanda
    @sujith - there is no error reported, only issue is tick is not being received even after subscription. Is it the correct instrument token which I mentioned above?
  • sujith
    Yes, we tried it out and we are getting ticks for all the instruments.
  • Priyahanda
    @sujith - below is the code for the same -

    /** Set error listener to listen to errors.*/
    tickerProvider.setOnErrorListener(new OnError() {
    @Override
    public void onError(Exception exception) {
    System.out.println(exception.getLocalizedMessage());
    }

    @Override
    public void onError(KiteException kiteException) {
    System.out.println(kiteException.message);
    System.out.println(kiteException.getLocalizedMessage());

    }

    public void onError(String error) {
    System.out.println(error);
    }
    });
Sign In or Register to comment.