With Datastream it is possible to retrieve Default Prices for bonds - for time series. If my mind serves me right it is MPD.
Is there an equivalent code for Eiokn, specifically the Eikon API for Python?
Upgrade from Eikon -> Workspace. Learn about programming differences.
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
With Datastream it is possible to retrieve Default Prices for bonds - for time series. If my mind serves me right it is MPD.
Is there an equivalent code for Eiokn, specifically the Eikon API for Python?
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS
Hi @blucap
Here is an example you can use to retrieve the time series of a bond using an ISIN as an input
ek.get_data('DE000DB7XHP3',['TR.BIDPRICE.date','TR.BIDPRICE'],{"Sdate":'2016-01-01', "Edate":'2016-01-31'})
Thank you - However I am looking for CDS spreads, any help appreciated as I am a newby on spreads.
Hi @blucap if you are looking for CDS spreads then I recommend you to use CDSSRCH app in Eikon to find RIC codes, then you can use an example syntax to fetch the data:
ek.get_data('DB5YEUAM=R',['TR.PARMIDSPREAD.date','TR.PARMIDSPREAD'],{"Sdate":'0D', "Edate":'-10D'})
Hi @blucap
Can you provide Eikon Desktop screenshot on the data you would like to retrieve via Python API ?
Thanks.