CodeBook examples For rdp.get_bond_analytics() not working

@nick.zincone 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
Best Answer
-
Hi @rajanraju
I have been advised that you are most likely on the Eikon Research and Advisory variant which doesn't provide access to bond analytics. Please mention this when discussing it with your account manager.
0
Answers
-
Hi @rajanraju
The error indicates you are not licenced for Instrument Pricing Analytics APIs.
Please speak to your Refinitiv account team to discuss further.
0 -
Thanks @umer.nalla . On the page https://github.com/Refinitiv-API-Samples/Article.RDPLibrary.Python.BondCashFlow : the prerequisites are :
To execute any workbook, refer to the following:
License(s):
A Refinitiv desktop license (Refinitiv Eikon or Refinitiv Workspace) that has API access
OR
A Refinitiv Data Platform (RDP) license with access to the Financial Contracts data services within the Instrument Pricing Analytics.
- Notebook can be directly loaded into Refinitiv CodeBook
- Packages: rdp pandas numpy matplotlib
- RDP for Python installation: 'pip install refinitiv-dataplatform' (if running outside of CodeBook)
I hv Eikon with API access. Are IPA API's separate? Will speak with Account Manager. If the IPA licenses are separate, suggest this information should be part of the Prerequisites.
0 -
Hi @rajanraju ,
While you may already have access to data via your Eikon license, you may need to ensure your desktop license grants you access to IPA data. You can follow up with your Refinitiv account team.
0 -
Thanks @umer.nalla ...My suggestion would be to let the pre-requisites reflect the versions of Eikon which will have access. Would help in clarifying who can access the libraries. And if possible, please consider allowing all Eikon users with api access to be able to use IPA - seems to be an excellent library. I can imagine there are commercial issues involved. Thanks for taking the time to help me get to the bottom of the issue.
0 -
@rajanrajuHi
Thanks for the suggestion - @nick.zincone is a co-author of the article, so I am sure he will have noted your comments.
And you are correct, it is down to licencing/commercial issues.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛