Inside code you have subscribe to data for trades,tickers and order book, etc. but to get those data from exchange you have implement while loop which is not suitable as well as not working fine as if a user subscribe to market data then they will have to get those data in a variable automatically when there is any activity in exchange....please help me to resolve that
Inside code you have subscribe to data for trades,tickers and order book, etc. but to get those data from exchange you have implement while loop which is not suitable as well as not working fine as if a user subscribe to market data then they will have to get those data in a variable automatically when there is any activity in exchange....please help me to resolve that