Skip to main content
Asked a question 3 months ago

fyers socket subscribe different symbol creates a new thread. how to subscribe to exisitng thread..Lets say, i subscribe niftyfuture it creates a thread to read ticks, when i subscribe to banknifty after 10 mins, then it again creates a thread to read ticks from banknifty. Because of this, so many threads are created in system. Is there a way i can make the same ticker listen to nifty and banknifty ?

Join FYERS Community to pick others' brains on Trading/Investing

Can you share me a code sample on how you are subscribing to the symbols?