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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 0 0 2

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-apidssdatascope-select
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

Upvotes
Accepted
15.2k 40 12 19

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