question

Upvotes
Accepted
10 1 2 3

How to download all rdp.get_bond_analytics 's fields via Python Eikon data API

df = rdp.get_bond_analytics(


universe = universe,


fields = ["InstrumentCode",

"NotionalCcy",

"PositionInDealCcy",

"InterestPaymentFrequency",

"CashFlowDatesArray",

"CashFlowInterestAmountsInDealCcyArray",

"CashFlowCapitalAmountsInDealCcyArray"

]

)


Above are from sample code of cash flow sample. Just want to download more array related field but don't know how to do so. Any link or code to download all field universe? Many thanks.

rdp-apirefinitiv-data-platformbondsipaapi-playground
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.

Upvotes
Accepted
39.2k 75 11 27

See the list of output fields available on Refinitiv Data Platform APIs page on Refinitiv Developer Portal under Documentation - Manuals & Guides - IPA Financial Contracts - Bond Contracts - Output Fields Description.

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.

Thanks Alex. It is what I look for.
Upvotes
20.3k 73 10 20

hi @sunny.to@refinitiv.com

In terms of code, just drop the fields list e.g.

df = rdp.get_bond_analytics(
    universe = ['US10YT=RR']
)

The above returns a DF with 287 columns (fields) - Note that many of them are blank - if a particular field is not relevant to the instrument type...


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.

Thanks Umer, it works as well.
Click below to post an Idea Post Idea