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 mani.sabapathi · Jan 29, 2021 at 06:10 AM · eikoneikon-data-apiworkspacepythonworkspace-data-apirefinitiv-dataplatform-eikonricssymbology

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?

boris01

People who like this

1 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 · Jan 29, 2021 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

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 · Jan 29, 2021 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 >
12 People are following this question.

Related Questions

NaN in Python CUSIP query when asking for multiple securities; returns correctly with one security

Is there a way to get s&p 500 symbols constituents through API?

QuoteID not mapping to RICs.

RIC symbol from stock name?

Converting a list of tickers to RICs

  • 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