question

Upvotes
Accepted
5 1 1 4

How to specify a time range when making a tick history rest api call for intraday bars? For example How to I request data from 06:00 to 18:00? for a Are there other value for this field? "ReportDateRangeType": "Range"

tick-history-rest-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
23k 22 9 14

Hello @Shyamala.K,

Use Condition with QueryStartDate and QueryEndDate:

"Condition": {  
"MessageTimeStampIn": "GmtUtc",  
"ReportDateRangeType": "Range",  
"QueryStartDate": "2016-09-29T00:00:00.000Z",  
"QueryEndDate": "2016-09-30T00:00:00.000Z",  
"SummaryInterval": "OneHour",  
"TimebarPersistence": true,  
"DisplaySourceRIC": true  

}

For a complete example please refer to

Tuturial 6 Intraday Bars

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea