For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 0 1 3

historical intraday data DSS

How can I extract intraday prices for a past date range through the API?

I am trying to follow the example, but when using PriceHistoryExtractionRequest I get a permission error, however from the GUI I am able to create reports for TickHistoryTimeAndSalesReportTemplate and extract intraday data.

pythondss-rest-apidatascope-selectdss
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.

1 Answer

· Write an Answer
Upvotes
Accepted
21.8k 57 14 21

Hello @giacomo.mazzi,

Do you see Price History report in GUI? If not, then you are only permissioned for TickHistory and not DataScope Select.

Untitled.png


untitled.png (24.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.

Hi @Gurpreet ,

you are right, I have permission only for TickHistory, so my question is, within the GUI I can create a TickHistoryTimeAndSalesReportTemplate for a given date range in the past. How can I do it programmatically through the API?

The closest example I found in the tutorial is the one with Price History (tutorial 4), but trying to modify it to work with the TickHistory template fails, I get a "Invalid array element type for property \'ContentFieldNames\".

Thanks

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.