question

Upvotes
Accepted
3 0 0 2

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.

1 Answer

Upvotes
Accepted
13.1k 61 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.