Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 4 3 7

Return column name for "DATE_TIME" inconsistent getting historic prices

When getting historic prices from the RDP API and I include the field "DATE_TIME" in my request sometimes I get back "DATE" in the column names and sometime "DATE_TIME". I assume this is because of intraday vs day and greater intervals but the inconsistency is not great when parsing the data:


1661755012944.png


1661755054333.png




rdp-api
1661755012944.png (9.9 KiB)
1661755054333.png (11.6 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
Accepted
17.8k 82 39 63

Hi @gordon.konheiser

The date format is how the backend service supplies the data and as you observed, is dependent on whether you are requesting for interday vs intraday. Clearly, the intraday you will need the time element. However, there was a design decision to not include the time element within interday as this would be redundant. That being said, you will need account for this when you are processing 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.

Upvotes
14.4k 30 5 10

hi @gordon.konheiser ,

If the endpoints you're using are /data/historical-pricing/v1/views/interday-summaries and /data/historical-pricing/v1/views/intraday-summaries/ . The difference in the responses are because the data are retrieved from the different endpoints (interday, intraday).

If not, could you please provide the endpoint and request body used for further investigation?

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
14.4k 30 5 10

hi @gordon.konheiser ,

are you using RD library or RDP libraries to retrieve this data? if so, could you please provide the library used and its version, please?

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
23 4 3 7

Here you go :


1661767317281.png


1661767317281.png (2.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.

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.