I am trying to retrieve the "mid" field for EUR1MO= using Eikon API via Jupyter Notebook, but it is

I am trying to retrieve the "mid" field for EUR1MO= using Eikon API via Jupyter Notebook, but it is returning "nan"?

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    @Martin.Miller

    I can retrieve the MID price field of EUR1MO= with this command.

    df = ek.get_data(
    "EUR1MO=",
    ["TR.MidPrice.Date", "TR.MidPrice"],
    {'sdate':'01/01/2019', 'edate':'03/10/2019'})

    Could you please the code that you are using to retrieve the MID price field?

Answers