The InstrumentsCandlesFactory skips the request that should get the last N-records, where N is less than the standard count of 500 or the specified count.
The loop used to determine the number of requests and request parameters exits 1 request to early. So the request for last N records is not generated.
The InstrumentsCandlesFactory skips the request that should get the last N-records, where N is less than the standard count of 500 or the specified count.
The loop used to determine the number of requests and request parameters exits 1 request to early. So the request for last N records is not generated.
This is corrected.