question

Upvotes
Accepted
1 0 1 2

We need tick history intraday data at every 5 mins for few instruments. Is it possible to get the response in json format, if not how can we get the data.

dss-rest-apitick-history-rest-apitick-data
icon clock
10 |1500

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

Upvote
Accepted
32.2k 41 11 20

Hello @nikhilkumar.bajaj ,

You are correct, the result for TickHistoryIntradaySummaries should be in gzipped format.

In addition to the tutorial for REST, which would be the best to learn the approach, and includes the link to the downloadable Postman example RTH REST Tutorials Postman collection that you can download at run, as suggested by @Jirapongse (Postman may unzip by default making it easy to review the result), you may wish to review RTH Python Code Samples -> RTH_OnDemand_IntradayBars for the code details.

icon clock
10 |1500

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

Upvote
87.5k 294 53 79

@nikhilkumar.bajaj

It should be the intraday bars extraction which supports the FiveMinutes interval.

The output is in CSV format.

1650883699531.png

For more information, please refer to REST API Tutorial 6: On Demand intraday bars extraction.



1650883699531.png (40.4 KiB)
icon clock
10 |1500

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

Upvotes
1 0 1 2

Hi,

but according to the document the response will be in gzip. Is it the gzip contains the csv or we get the csv as output? we have near 50 instruments to fetch the data.

Content-Encoding: gzip
Content-Type: text/plain

icon clock
10 |1500

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

Upvotes
1 0 1 2

Hi, I am satisfied with the response.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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