We need to fetch the entire income history from both USD and coin margined futures for our web application’s users.
We are now fetching data from these endpoints:
There is no mention of how to paginate the results in the API documentation. The only parameters mentioned are startTime, endTime, and limit. For now, we are looping requests with x days intervals, but this does not guarantee that we get all transactions in the case that we get 1000 results (assuming limit=1000 is passed).
Any good suggestion for how to get the complete history?
Thanks in advance!