Getting price history for period M1 and startUtc of January 2020 fails since the request rate exceeds 50000.
I checked the XAPI.getPriceHistory() function and it looks kind of strange to me.
Passing both, "ticks" and "startUtc", will always result in one of them being ignored since chartRangeRequest does not use the startUtc argument and getChartLastRequest does not use the ticks variable.
Is there any reason to use getChartLastRequest at all?
I cannot see any so if you don´t either I could raise a pull request to always use getChartRangeRequest.
Getting price history for period M1 and startUtc of January 2020 fails since the request rate exceeds 50000. I checked the XAPI.getPriceHistory() function and it looks kind of strange to me. Passing both, "ticks" and "startUtc", will always result in one of them being ignored since chartRangeRequest does not use the startUtc argument and getChartLastRequest does not use the ticks variable.
Is there any reason to use getChartLastRequest at all? I cannot see any so if you don´t either I could raise a pull request to always use getChartRangeRequest.