I would like to raise your attention on an unexpected behaviour regarding the API's time series data request.
I can reproduce the problem with the DataApiUsageExampleTimeseriesData that can be downloaded here with slight code changes.
In TimeSeriesRequestExample.Launch() I set up a request like this:
request = timeSeries.SetupDataRequest("CFI2Z7")
.WithView("TRDPRC_1")
.WithAllFields()
.WithInterval(CommonInterval.Intraday1Minute)
.WithNumberOfPoints(20000)
.OnDataReceived(chunk => { Console.WriteLine("Count={0}",chunk.Records.Count()); })
.CreateAndSend();
When requesting
20000 data points now (27th Oct 2017, 14:30 CEST), the number of records provided will be
14945.
Note that the number returned is less then the number requested. However, when requesting
30000 data points, the result set is much larger,
18586 data points.
Also note that when requesting 40000 data points you still get only 18586 records delivered, so I assume this is all data available for that symbol.
Why don't we get back the full amount of data back when requesting 20000 records even though it fully fits the requested number?(Also note that in all case I will get two chunks sent, with the second having 0 records and IsLast == true).