Is there a delay in prices of coins ?
stream=“wss://stream.binance.com:9443/ws/btcusdt@kline_30m”
I am using these settings and it shows different values than the binance app
Is there a delay in prices of coins ?
stream=“wss://stream.binance.com:9443/ws/btcusdt@kline_30m”
I am using these settings and it shows different values than the binance app
Hi.
Could you give out more information about how they are different from the app?
Do note that the data you get from websocket stream shows in UTC time.
There is always 14-16 difference between these values
For this case, I would suggest you to subscribe to ticker
( https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams ) or miniTicker
( https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream ) instead of kline. Because kline data push from the server every 2000ms, and the last price on the UI updates more frequently than it.