If we have subscribed to some symbols and getting their data via websocket then how can we update that symbol list to include and/or exclude some other symbols?
to remove a symbol use unsubscribe method on the fyersDataSocket for that symbol
to add subscribe method with that symbol
Can you share any code snippets?
The below link has the details of subscribing 2 stocks and on some condition unsubscribe one of them.
Hi @mpashis-ol4
As informed by @shyam.cqj9mxeg the unsubscribe can be used from Data socket to remove symbols