Hi,
I would like this formula with python, but my code doesn't work.
This is my code : df = ek.get_data("FR0012993103=RRPS", ["TR.MidPrice"], {'sdate':'17/02/2020', 'edate':'17/02/2020'})
Do you have an idea why it doesn't work ?
Thanks you,
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
Hi,
I would like this formula with python, but my code doesn't work.
This is my code : df = ek.get_data("FR0012993103=RRPS", ["TR.MidPrice"], {'sdate':'17/02/2020', 'edate':'17/02/2020'})
Do you have an idea why it doesn't work ?
Thanks you,
Hi @florian.carpentey49 - this should work
df, err = ek.get_data("FR0012993103=RRPS", ['TR.MIDPRICE.date','TR.MIDPRICE(SDate=20200217,CALCMETHOD=CLOSE)']) df