HistoricalTicksRequest

View as MarkdownOpen in Claude

HistoricalTicksRequest

FieldTypeDescription
reqIdint32Unique request identifier used for tracking across EWrapper
contractContractContract object containing defining characteristics for ticker.
startDateTimestringThe datetime when the request should be submitted. Formatted as “YYYYMMDD-HH:mm:ss” to assume UTC or “YYYYMMDD HH:mm:ss TMZ”
endDateTimestringThe request’s end date and time. This should be formatted as “YYYYMMDD HH:mm:ss TMZ” or an empty string indicates current present moment.
numberOfTicksint32Number of distinct data points. Max is 1000 per request
whatToShowstringData source type
useRTHboolDeclare that the request should only include Regular Trading Hours. Extended trading hours will be excluded.
ignoreSizeboolOmit updates that reflect only changes in size, and not price. Applicable to Bid_Ask data requests
miscOptionsMiscOptionsEntryShould be defined as null; reserved for internal use

HistoricalTicksRequest.MiscOptionsEntry

FieldTypeDescription
keystring
valuestring