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 tr105 · Jan 19 at 09:59 AM · pythonrefinitiv-data-platformpython apirefinitiv-dataplatform-libraries

.get_data API gives different results in refinitiv.dataplatform versus deprecated `eikon` python package

Confusingly, this only works when using the `eikon` package, and not when using the refinitiv-dataplatform package. What am I missing? I thought the latter was a successor of the deprecated `eikon` package?

The below gives an empty dataframe, indicating no valid results were found.

import refinitiv.dataplatform as rdp
print(rdp.__version__)
"1.0.0a13"

df = rdp.get_data(
    ['912828N30'],
    ['TR.YieldToMaturityAnalytics(ValuationDate=2018-10-09)'],
)

df # empty


The below works

import eikon as ek
print(ek.__version__)
"1.1.14"

df, err = ek.get_data(
    ['912828N30'],
    ['TR.YieldToMaturityAnalytics(ValuationDate=2018-10-09)'],
)
df

InstrumentYield to Maturity0912828N303.039743

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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jason.ramchandani01 · Jan 19 at 10:24 AM

@tr105 So there are some small differences between the underlying service in the old Eikon library and the RDP version of the service. The RDP service is not yet at full parity with the old service in a few places. I think the bond analytic you requested is not yet ported to the new RDP instance. Sadly there is no workaround but to use the extant Eikon Library until the beta RDP service is at parity. Just an FYI you can use both the Eikon library and the RDP library from the same RDP package:

import refinitiv.dataplatform.eikon as ek
import refinitiv.dataplatform as rdp

I hope this can help.

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.

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

Error on handshake url http://127.0.0.1:9060/api/handshake

How can I get historical FX forward values in Python (Eikon data API, Codebook)?

Latest Eikon API dependencies

OR logical operator is not symmetric in keyword based search in SCREENER: is this a bug?

Finding the price of matured bonds that don't have RIC

  • 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