i receive the price from websocket with a delay of 1 to 2 seconds.
is there any solution to get the price in real time like milisecond.
i do triangular arbitrage and it s impossible with a delay like this.

My First option was to change my Vps to be closer to binance but may be you know other solution to be faster.
thank you

Yes, I also met


Is this for SPOT, USD-M Futures, Coin-M Futures or Vanilla Options?

Also, which stream are you referring to?

this is for spot market.

Websocket latency is subject to fluctuation, however a constant 1 to 2 seconds latency is problematic and most likely indicates an issue exists in the network pipeline between the client and the server.

If this issue is still occurring, I suggest diagnosing the network flow, if this issue is no longer occurring, please indicate the full websocket url used to connect, the subscribed stream, timestamps when the issue occurred and a description of the issue.