For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
38 0 1 3

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

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonpricingderivatives
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

@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?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

@jirapongse.phuriphanvichai

Great, that worked fine. Thank you

Click below to post an Idea Post Idea