After receiving chart data, you will want to check that you received all of the data that you requested. A successful chart data request is not guarantee to return the entire date range requested. This depends on many factors and cannot be predicted.
The
IChartDataRequest properties TradeDatesRequested and TradeDatesProcessed will help you in determining if you need to make additional chart data requests. TradeDatesRequested is the date range that was originally requested in the call to BeginRequestChartData. TradeDatesProcessed is the date range of the data the API was able to fulfill in this request.
Chart data requests are fulfilled starting with the most recent date and working back. Therefore if TradeDatesRequested.StartDate is earlier than TradeDatesProcessed.StartDate, then you will need to request additional data.
Example:
| Start Date | End Date |
| TradeDatesRequested | 4/1/2009 | 4/1/2010 |
| TradeDatesProcessed | 3/1/2010 | 4/1/2010 |
| Date range of the next request | 4/1/2009 | 2/28/2010 |