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 mani.sabapathi · Jan 29 at 06:10 AM · eikoneikondataapiricstickers

How to stop tickers from being converted to wrong RICs

Converting a list of tickers into RICs for regular data pulls, running into issue of get_symbology() converting some into the incorrect ticker (e.g. ADOC is converted to ADOC.PA instead of ADOC.O). Is there a way to avoid this without manually finding the exceptions and having to look up the correct RIC each time?

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. · Jan 29 at 07:09 PM

@mani.sabapathi

Instead of get_symbology method of Eikon Data APIs library, I suggest using RDP Library for search, lookups and symbology conversion. I sense that you're focused on US stocks and would like to eliminate all international matches when using a stock ticker. Here's an example using RDP Library that strictly interprets the input as a US stock ticker:

import refinitiv.dataplatform as rdp 
rdp.open_desktop_session('MY_APP_KEY') 
rdp.lookup(view = rdp.SearchViews.EquityQuotes,
           scope = 'USStockTicker',
           terms = 'MSFT,AAPL,GOOG,IBM,ADOC',
           select = 'RIC')

| RIC
AAPL | AAPL.OQ
ADOC | ADOC.OQ
GOOG. | GOOG.OQ
IBM. | IBM.N
MSFT. | MSFT.OQ

Comment
jirapongse.phuriphanvichai

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.

avatar image
REFINITIV
Answer by jirapongse.phuriphanvichai · Jan 29 at 09:11 AM

@mani.sabapathi

One ticker can be mapped to several RICs.

data = ek.get_symbology(["ADOC"], from_symbol_type="ticker", to_symbol_type="RIC", bestMatch=False, raw_output=True)
data

When using the get_symbology in Eikon Data API, ADOC can be mapped to the following RICs.

{'mappedSymbols': [{'RICs': ['ADOC.PA',    'ADOC.O',    'ADOC.OQ',    'ADOC.PH',    'ADOC.B',    'ADOC.Z',    'ADOC.ZY',    'ADOC.DG',    'ADOC.DY',    'ADOC.PA1',    'ADOC.N',    'ADOC.A',    'ADOC.DF',    'ADOC.C',    'ADOC.MW',    'ADOC.P',    'ADOC.ARC',    'ADOC.NB',    'ADOC.ITC',    'ADOC.BAT',    'ADOC.BYX',    'ADOC.EI',    'ADOC.BT1',    'ADOC.LTS',    'ADOC.MEM',    'ADOC.MP',    'ADOCEUR.VIp^J18'],   'bestMatch': {'error': 'No best match available'},   'symbol': 'ADOC'}]}

ADOC.O is also on the list.

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

How to find field names in Eikon Python API?

Unpopulated TR.ExchangeCountry vs. populated TR.HeadquartersCountry

Eikon Data API Time Series Timezone

StreamingPrices run forever

Efficient retrieval of a series of returns data around a date

  • 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
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • 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