How to dynamically subscribe

Hi, There i am using fyers v3 webscoket, it working fine, but i don't know how can i subscribe to symbol dynamically, for example if i subscribe symbols at once like symbols = ["NSE:NIFTYBANK-INDEX", "NSE:NIFTYBANK23DEC45000CE"] it is working fine, but in my algo strategy instrument are loaded lazily, init method will load spot chart like nifty banknifty and then when signal is met like sma crossover, we need to buy / sell option instrument, so at that time we need to add NSE:NIFTYBANK23DEC45000CE as well and not at all at one, so can you please suggest better way to subscribe symbol on demand

1
4 replies