When I subscribe to the aggregated futures trade stream, I noticed some trades are missing.
The messages come with an aggregated block id and also with a first and last trade ids for that block.
The aggregated block ids are sequential, so this suggests that I am receiving every block of data from Binance, but Binance has dropped some trades in between.
For example:
08/30/2021 13:45:51 FTMUSDT - missing trades, went from 89496196 to 89496198
08/30/2021 13:45:51 FTMUSDT - missing trades, went from 89496205 to 89496207
08/30/2021 13:46:19 ADAUSDT - missing trades, went from 415484061 to 415484070
but this data come from aggregated trades with sequential numbers (I print an error otherwise), so no data is dropped in the transmission.
Hi. Thanks for the feedback.
Could you provide some raw data for better investigation? It would be helpful if the record can show timestamp, symbol, and aggregate trade id ‘a’ before and after the missing row.
Sorry for not describing what I want to see clearly.
Could you provide some raw data for better investigation? It would be helpful if the record can show timestamp, symbol, and aggregate trade id ‘a’ before and after the missing row.
I hope you could provide the records you already collect “before” and “after” the missing id (instead of which ids are missing ) so that it’s easier to see the pattern. Besides, the timestamp I meant was UTC time, the date time you showed above must be a local time. This will be helpful to check if those ids are missing from the server side or the client side (your local). Thanks.
Alright, checked the data from our end. The trade ids indicated in aggregate trade stream are not the whole. For instance, IF and ADL are not included.