get_timeseries for FX rates.

Hey, is it possible to use FX rates (such as 'EUR=') in get_timeseries()?

Best Answer

  • @aquilesjlp300

    I can use get_timeseries with EUR=. See the following codes + output.

    import eikon as ek
    import pandas as pd
    ek.set_app_key('<your app key>')
    try:
    data = ek.get_timeseries('EUR=', start_date='2019-01-10', end_date='2019-07-07')
    print(data.tail)
    print(data.head)
    except ek.EikonError as error:
    print(error

    image

Answers

  • Thanks a lot! The reason why I was asking, and I forgot to say, is that while testing for company RICs, I was wondering if I could get the values of the fields in different currencies such as USD.

    Not sure if that's possible but I'll ask in another question anyways.