Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by rajanraju · Jun 22, 2021 at 08:03 AM · eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonrdp-apirefinitiv-data-platform-librariescodebook

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


People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

5 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Jun 22, 2021 at 02:39 PM

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by umer.nalla · Jun 22, 2021 at 08:07 AM

Hi @rajanraju

The error indicates you are not licenced for Instrument Pricing Analytics APIs.

Please speak to your Refinitiv account team to discuss further.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by rajanraju · Jun 22, 2021 at 08:15 AM

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.

Development Environment

  • 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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by nick.zincone · Jun 22, 2021 at 10:33 AM

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by rajanraju · Jun 23, 2021 at 05:54 AM

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.

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
umer.nalla ♦♦ · Jun 23, 2021 at 08:16 AM 0
Share
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.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
14 People are following this question.

Related Questions

EDP functions on EIKON DATA API at the same time.

Inconsistent delta value between rdp.get_historical_price_summaries() and eikon terminal

CodeBook App not loading notebook environment (Spawn failed: Timeout)

Trying to fetch Close Bid Price for CMO tranche from Python

Hello, just to confirm we can access Eikon API via Eikon Desktop and Eikon Web (via Codebook only) correct?

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges