It looks like you're new here. If you want to get involved, click one of these buttons!
After Connect method called I checked the token subscribe status it showing 0 sizes. is anyone know what issue is here. First, this is started as random. nowadays it always happening.
KiteTicker tickerProvider = new KiteTicker(tradeCredentials.getAccesstoken(), tradeCredentials.getApikey());
tickerProvider.setTryReconnection(true);
//maximum retries and should be greater than 0
tickerProvider.setMaximumRetries(50);
//set maximum retry interval in seconds
tickerProvider.setMaximumRetryInterval(30);
tickerProvider.subscribe(instrumentTokens);
tickerProvider.setMode(instrumentTokens, KiteTicker.modeLTP);
tickerProvider.connect();
The onTick callback with 0 ticks length is because Kite Ticker sends heartbeat tick every second. If there is data then length will be greater than 0