I needed to update my subscription list by adding new instrument tokens based on user inputs during runtime. here is what i have tried. The new subscriptions don't reflect in tick data.
do i need to call initTicker again ? The initTicker() is called once after initialising kite after connecting.
private void OnTick(Tick TickData) { if ( newSubsription.Length>0) // static global variable , new instrument tokens are added to it for subscribing { ticker.Subscribe(Tokens: newSubsription); //newSubsription = []; ticker.ReSubscribe();