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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 1 3

Download bond prices via Python API

get_timeseries function returns yield for the bond. Is there any chance to change the field and get last or mid price of the bond? @Zhenya Kovalyov

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonbonds
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.

Upvote
Accepted
4.6k 26 7 22

@i.anashkin not at the moment, that is something that will be addressed in the upcoming release, in the meantime you can try something like this:

tr.get_data(['XS0114288789'], ['TR.BIDPRICE(SDate=0,EDate=-9,Frq=D).date','TR.BIDPRICE(SDate=0,EDate=-9,Frq=D)'])
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.

@Zhenya Kovalyov: Yet another year later: has the functionality been included? In my Data Item Browser, I can see `TR.CLOSEPRICE` and `TR.CLOSEYIELD`...

Upvotes
45 3 5 10

Zhenya Kovalyov just checking if the functionality has been added. Thank you

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.

@rajanraju not yet, but the solution that I originally proposed should work fine.

Click below to post an Idea Post Idea