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 nicklas.rehnby · Jan 18 at 10:01 AM · python apipython api eikon

Get reference data from ISIN list

Im trying to get reference data for a list of ISINs that I read from an excel file.

instrument_list=pd.read_excel("file path...")

I then want to create a df with the reference columns for all ISINs

df, err = ek.get_data(

instruments = instrument_list['ISIN'],

fields = [

'TR.FiAssetStatus',

'TR.FiAssetStatusDescription',

'TR.MUNIInstrumentType',

'TR.FiCurrency',

'TR.FiIssuerName',

'TR.FiIssueDate',

'TR.MUNIAssetStatusEffectiveDate',

'TR.FiFaceIssuedTotal',

'TR.MUNIOriginalAmountIssued',

'TR.ADF_COUPON',

'TR.FiCouponType'])

display(df)


I not sure how to get the the list in to the formula and how to use only use the ISIN-code to get the data.

Any ideas?

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.ramchandani · Jan 18 at 10:11 AM

@nicklas.rehnby Please try the code below:

df, err = ek.get_data(
instruments = instrument_list['ISIN'].astype(str).values.tolist(),
fields = [
'TR.FiAssetStatus',
'TR.FiAssetStatusDescription',
'TR.MUNIInstrumentType',
'TR.FiCurrency',
'TR.FiIssuerName',
'TR.FiIssueDate',
'TR.MUNIAssetStatusEffectiveDate',
'TR.FiFaceIssuedTotal',
'TR.MUNIOriginalAmountIssued',
'TR.ADF_COUPON',
'TR.FiCouponType'])
display(df)

I hope this can help.

Comment
nicklas.rehnby

People who like this

1 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
nicklas.rehnby · Feb 03 at 03:22 PM 1
Share

It worked. Thank you

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

Selecting data from Index constituents that have increased dividends over last 5 years

Find or calculate intraday volatility.

Decoding DSPLY_NMLL to the Finnish language

Is there a programmatic way to check if price symbol is available given a RIC or ISIN in Python API?

Historical company guidance data

  • 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