CodeBook examples For rdp.get_bond_analytics() not working
@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
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 -
Hi @rajanraju
Thanks for the suggestion - @nick.zincone.1 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
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛