retrieve FX Polls from Eikon

Hi I am trying to retrieve historical FX polls from Eikon. I am able to do it in Excel using

RHistory("AUD1YP=","FCAST_MED.Timestamp;FCAST_MED.Value","START:01-Mar-2000 END:01-Mar-2020 INTERVAL:1MO",,"TSREPEAT:NO CH:Fd",B2)

But I am having trouble in Python. I am using:

get_data("AUD1YP=", ['FCAST_MED.Value'],{'SDate':'2012-01-01', 'EDate':'2019-12-31', 'FRQ': 'M'})

I also tried get_timeseries but didnt seem to work.

Any idea how to make it work?

Best Answer

  • chavalit-jintamalit
    Answer ✓

    Hi @ninja

    Sorry, I misread the interval in your question.

    RHistory("AUD1YP=","FCAST_MED.Timestamp;FCAST_MED.Value","START:01-Mar-2000 END:01-Mar-2020 INTERVAL:1MO",,"TSREPEAT:NO CH:Fd",B2)

    You should be able to use this interval with Eikon Data API(Python).

    image


Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.