How to update the ticker array object dynamically

sriramshankar
Hi,

I am able to get live tick updates for an array of InstrumentTokens. I call ws.subscribe in the on_connect callback.
I now want to update the array of InstrumentTokens dynamically. What is the flow for implementing this?

I looked through the code and my understanding is that I need to call stop() and resubscribe() with the new array. Is my understanding correct?
Sign In or Register to comment.