question

Upvotes
Accepted
3 0 2 4

rd.get_history returns historical price of random RIC

I am trying to download historical price data for a list of RICs in python via RDP api. Most of the time, get_history() function would return prices for multiple rics. For example,

1659012090704.png

These are generally fine as I can always discard the irrelevant ones, but sometimes, get_history() will return completely random stuff, such as:

1659012183385.png

Am I missing something? Is there a way to systematically deal with the two cases above?

refinitiv-data-platform
1659012090704.png (20.6 KiB)
1659012183385.png (24.2 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.

@dchen84

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
17.2k 82 39 63

Hi @dchen84

I tried you specific examples and was able to produce the same irrelevant response as you did. I'm going to report this to the development team.

In the meantime, can you try the following request using the Eikon Data API?

ek.get_timeseries("BMA.BA", 
                  interval='quarterly', 
                  start_date='2000-01-01', 
                  end_date='2022-01-01')

ahs.png


ahs.png (28.7 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.