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?

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    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