Welcome Guest, you are in: Login
CTS Futures
Home
Pricing
FAQ

T4 Desktop
User Guide
Scripting Guide
Release Notes

Mobile and Web
T4 Mobile
T4 WebTrader

Admins
T4 Admin Guide

Developers
API 4.0 Guide
API 4.0 Reference
FIX API




Search the wiki
»

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

141 W. Jackson Blvd., Suite 211A, Chicago, IL 60604

© 2009-2012 Cunningham Trading Systems Inc. All rights reserved.