@nick.zincone.1 on CodeBook was trying to run Function - IPA - Bond Pricing in the Refinitiv Data Platform Library for Python Examples. For the cell 2:
rdp.get_bond_analytics(universe = "13063CUV0", fields = ["InstrumentDescription","MarketDataDate", "Price", "YieldPercent","GovernmentSpreadBp", "SectorRatingSpreadBp" ])
I get no response. using rdp.get_last_status(), I get
{'http_status_code': 403, 'http_reason': 'Forbidden', 'error': {'id': '1f4cb079-9396-4d32-afa7-912fff6a72d8',
'code': 'insufficient_scope', 'message': 'access denied. Scopes required to access the resource: [trapi.data.quantitative-analytics.read]. Missing scopes: [trapi.data.quantitative-analytics.read]',
'status': 'Forbidden'}}
The examples on equities etc seem to work well. Any advice on what i need to do to get the bond analytics to work? I was looking to build out future cashflows of a bond - and your example is perfect place to start.
PS I have Eikon with API access so i reckon meet the prerequisites outlined in
https://github.com/Refinitiv-API-Samples/Article.RDPLibrary.Python.BondCashFlow