binance / binance-public-data

Details on how to get Binance public data
1.57k stars 482 forks source link

aggTrades and historicalTrades return incomplete data. #376

Open b1-88er opened 1 week ago

b1-88er commented 1 week ago

https://api.binance.com/api/v3/aggTrades?fromId=1&limit=10&symbol=DOGEUSDT https://api.binance.com/api/v3/historicalTrades?fromId=1&limit=10&symbol=DOGEUSDT

Even though I set "fromId" to be 1 I get data starting from 437921759. This is regardless of the ticker, ETHUSDT is the same thing. Data used to be available from the Id 1. If that changed for this endpoint is there another way other than downloading the zip files?

tachikoma-av commented 3 days ago

you can download them zip files directly from https://data.binance.vision/?prefix=data/ , aggTrades are there 100%, not sure about historical trades

b1-88er commented 1 day ago

I am aware. However when asking the trades since id=1 I get ones starting from 437921759. Having such gap doesn't feel right.