Delay on message from websocket

Good afternoon, everyone,

I have a python program that creates a thread for each symbol and creates a websocket with several timeframes, however after starting the program I notice that I get a delay in the data. For example, the first date is the current date and the second date is the timeframe candle.
image

I don’t think this is a problem with the binance api, but I’d like to know if anyone can give me an opinion on how to improve performance when receiving data.

Thank you

It is not easy to understand the concern by just looking into this screenshot. However you can try to only subscript one symbol and see if it improves.

Hi Dino,

With just one symbol and one timeframe works normal.
But i want to bring information of all symbols and other timeframe. what could be the best aprouch for that?

Thanks

with all symbols subscribed, client has to read the data packet from socket as quick as possible, otherwise the server may drop the connection.