Not getting any Tick Data again ?

phantomdrake
Hey @Sujith,
I am not getting any tick data again. Not sure what's going wrong. Let me know what information I can provide to help you.

Warm Regards,
  • phantomdrake
    Subscriptions done for the tokens: [[256265, 260105]]
  • phantomdrake
    ticks size 0
    lastQuote instrumentToken: 260105 closePrice: 26451.35
    lastQuote instrumentToken: 256265 closePrice: 10767.65
  • phantomdrake
    I am not getting any errors/disconnect as well
  • phantomdrake
    Also why should the tick have the close price/open price and not just lastTradedPrice ?
  • sujith
    By default when you subscribe for ticks Kite Ticker will send data in quote mode. You can later setMode to LTP to receive only LTP data.
  • phantomdrake
    Hey @sujith I started receiving the ticks again after an hour. What is causing this. Could you please help.
  • sujith
    Are you blocking the main thread where you receive ticks?
  • phantomdrake
    There are multiple threads running but none are blocked.
    The method public void onTicks(ArrayList ticks) is continuously called and prints log.info("ticks size " + ticks.size()); as ticks size 0. And this continues for an hour and then the Ticks start flowing again.
  • sujith
    Can you paste your code here?
Sign In or Register to comment.