Welcome Guest, you are in: Login
CTS Futures

Checking Processed Dates

RSS
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 DateEnd Date
TradeDatesRequested4/1/20094/1/2010
TradeDatesProcessed3/1/20104/1/2010
Date range of the next request4/1/20092/28/2010

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

111 W. Jackson Blvd., Suite 1408, Chicago, IL 60604

© 2009-2014 Cunningham Trading Systems LLC All rights reserved.