The resource loading... loading...

The price data obtained by websocket does not match the exchange

Author: xaifer48, Created: 2022-11-13 10:26:36, Updated: 2022-11-13 10:34:40

I subscribed to the transaction data using wss://fstream.binance.com/ws/btcusdt@aggTrade to reconnect=true, and then used the price drop in aggTrade as the latest transaction price, but the data printed on the dashboard was several tens off the exchange price. Please, ladies and gentlemen, what is the problem? Is it because the time of the custodian (Hong Kong server) is not in line with the exchange? I'm not sure what to do.


More

AAA386Check the time stamp

Inventors quantify - small dreamsDetermine the varieties of the following contrasts, whether the contracts are the same. This data is provided by the exchange, to exclude possible problems. For example; the exchange page shows delays except. It should be consistent because this data is provided directly by the exchange interface.

Inventors quantify - small dreamsI'm not being polite.

xaifer48I'll check it out, thank you.