Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Refinitiv Data Platform /
  • Refinitiv Data Platform Libraries /
avatar image
REFINITIV
Question by Jenna.Tabunda · Apr 15, 2021 at 06:19 AM · rdp-apirefinitiv-data-platformrefinitiv-data-platform-libraries

How to retrieve the same data from RDP Libraries in Codebook in RDP API Playground


I am checking Codebook app in Workspace. I was hoping that you can assist me regarding some Codebook examples available in the Refinitiv Data Platform Library. I am just checking if the below examples correspond to an endpoint in the RDP API Playground?


In Codebook, I see that the data can be retrieved using python codes. In the below python code examples from Codebook, may you kindly advise how I can retrieve the same data in RDP API Playground and which endpoint should I use in API Playground?


1. For Single Bond


rdp.get_bond_analytics(

universe = "13063CUV0",

fields = [

"InstrumentDescription",

"MarketDataDate",

"Price",

"YieldPercent",

"GovernmentSpreadBp",

"SectorRatingSpreadBp"

]

)




2. For Multiple Bonds


rdp.get_bond_analytics(

universe = ["US1YT=RR", "US5YT=RR", "US10YT=RR"],

fields = ["InstrumentDescription","MarketDataDate","Price","YieldPercent","ZSpreadBp"]

)


3. For Global pricing parameters


rdp.get_bond_analytics(

universe = [

"US1YT=RR",

"US5YT=RR",

"US10YT=RR"

],

calculation_params = bond.CalculationParams(

market_data_date="2020-07-05",

price_side = ipa.enum_types.PriceSide.BID

),

fields = [

"InstrumentDescription",

"MarketDataDate",

"Price",

"YieldPercent",

"ZSpreadBp"]

)


4. For Single ETI Option


rdp.get_option_analytics(

universe = "FCHI560000L0.p",

fields = [

"ValuationDate",

"OptionType",

"ExerciseType",

"ExerciseStyle",

"EndDate",

"StrikePrice",

"VolatilityPercent",

"DeltaPercent",

"GammaPercent"

]

)



Thank you.


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.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov.1 · Apr 15, 2021 at 01:07 PM

@Jenna.Tabunda

The methods of RDP Library you listed send requests to
https://api.refinitiv.com/data/quantitative-analytics/v1/financial-contracts

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 s.schwalm · Apr 16, 2021 at 05:30 PM

Thanks Alex.

@Jenna.Tabunda, you may also find related documentation under https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/documentation

for instance : https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/documentation#ipa-financial-contracts-bond-contracts


best regards

Samuel


Comment
wasin.w

People who like this

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

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 >
11 People are following this question.

Related Questions

Unable to Open RDP Platform Session

Exception when requesting ceratin combination of paramters with HistoricalPricing.GetSummaries

Cannot retrieve ESG data via RDP libraries in Python

Asynio library errors when running rdp.StreamingPrices simple test

RFA C++ 8.2.0.L2 fails to build on windows, unresolved external error's with libRFA8_140_x64.lib(ripcinetutils.obj)

  • 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