mexcdevelop / mexc-api-sdk

MIT License
173 stars 70 forks source link

AggTrades - startTime and endTime does not work for older trades #34

Open Jonnern opened 1 year ago

Jonnern commented 1 year ago

https://api.mexc.com/api/v3/aggTrades?symbol=BTCUSDT&startTime=1681622015000&endTime=1681625555000 gives no trades

startTime = 1681622015000 = Sun Apr 16 2023 05:13:35 GMT+0000 endTime = 1681625555000 = Sun Apr 16 2023 06:12:35 GMT+0000

It works if startTime and endTime are recent values but not if going just a few hours back in time

SirSeruju commented 6 months ago

Same problem, try this instead: https://www.mexc.com/market-data-download Looks like trades are loaded there every day in the first half of the day UTC

/api/v3/aggTrades still gives no trades for long past time