Market feed : adding new instrument after feed.run_forever()

As per your market feed
live data is comming to specify instruement but after some time/logic i want to add another instruement also.
but give me only previous instruement result. not appended result show as output. how to solve it?

Hello @bhadreshakomal

Welcome to Dhan Community!

You can do the same by using subscribe_instruments packet in Python library to subscribe to additional instruments, while the socket is running.

Thanks for reply.
but i clearly not understand how to use “subscribe_instruments”
any example? or any video by DHAN? (like marketfeed example in github)

Hello @bhadreshakomal

Do not have examples for this at the moment. Maybe someone from community can help you here? @Sammy