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 /
avatar image
Question by bibin.jose · Oct 08, 2019 at 02:48 PM · pythoneikon apipython api eikonbasis

How to get the python equivalent for getting basis,last and contract

Excel is giving the results with RHistory


I am getting basis using python with GET_TIMESERIES and GET_DATA.

But I am unable to get the results for Contract month and last price. I doubt i am passing a wrong field name.

Looking in the data item browser also not helping



Seems like the get_timeseries don't have the data.

But I don't have the right field names for get_data.

eikon12.jpg (54.3 KiB)
python.jpg (86.0 KiB)

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 nick.zincone.1 · Oct 08, 2019 at 04:06 PM

Hi @bibin.jose,

To help you understand what you are able to do today with the Eikon Data API is to filter the fields that support your requirements within the Data Item Browser. For example, in the screenshot below, I'm selecting only those fields that have historical values captured:

The historical contract month and last price fields are not available.


ahs.png (51.0 KiB)
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 Alex Putkov. · Oct 08, 2019 at 03:57 PM

I'm afraid Eikon Data APIs are not yet on par with data retrieval capabilities available through Excel or legacy Eikon APIs. At the moment the only Eikon APIs that are capable of retrieving the data you're after are legacy Eikon .NET APIs and RHistory library of Eikon COM APIs (the latter can only be used in Excel VBA).

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

Trying to convert Total Return in a dataframe from Object type to float64 type. Not working.

Request Intraday Forex Data using Python API.

Issue while requesting Stock Returns (TR.TotalReturn1D)

In eikon Python api function eikon.get_news_headlines() are results inclusive of date_from and date_to timestamps parameters?

additional charges for Registering a New App in the App Key Generator

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges