I tried to fetch new Klines in a loop, and the way I tried to achieve this was to update the KlineService's startTime parameter with the CloseTime value from the last Kline in a set of 1000 Klines in each iteration. I also tried to create a completely new KlineService with updated startTime value but in both cases the KlineService only fetched the same 1000 Klines over and over again. Why is this?
I tried to fetch new Klines in a loop, and the way I tried to achieve this was to update the KlineService's
startTime
parameter with theCloseTime
value from the last Kline in a set of 1000 Klines in each iteration. I also tried to create a completely new KlineService with updatedstartTime
value but in both cases the KlineService only fetched the same 1000 Klines over and over again. Why is this?