how to use Eikon API to get information in different language?

Python code:
data, err = ek.get_data(instruments=code, fields=[
"TR.RICCode",
"CF_NAME",
"DSPLY_NMLL",
"TR.TRBCIndustry"
])
Now we get the TR.TRBCIndustry field value in English. and is it possible to get the value in Chinese, Japanese, Korean and traditional Chinese language?
Best Answer
-
Thank you for reaching out to us.
I can use the Search feature in the Refinitiv Data Library for Python to get those values.
df = rd.discovery.search(
view = rd.discovery.Views.EQUITY_QUOTES,
filter = "RIC in ('0001.HK' 'IBM.N')",
select = "BusinessEntity,DocumentTitle, RIC, RCSTRBC2012Leaf,RCSTRBC2012LeafML"
)
df["RCSTRBC2012LeafML"].tolist()The output looks like this:
However, you may contact the helpdesk support team directly via MyRefinitiv to confirm if those values are available in Data Item Browser.
0
Answers
-
@Jirapongse It seems we cannot get the value in Korean.
And one more question, how can we get the CF_NAME field value in Chinese, Japanese, Korean and traditional Chinese language?
0 -
Hi @xuke ,
There's a field named DSPLY_NMLL that stores local language instrument name, is this what you're looking for?
0 -
@raksina.samasiri Hi, I used to find this field. we found it returns in traditional Chinese character(博隆技術). I want the simplified Chinese character(博隆技术).
0 -
@Jirapongse Thanks for your reply. We try below python API, but we cannot get industry multiple languages for "BOND" security. We can get "TR.TRBCIndustry" field which is "Electrical Components & Equipment". Kindly tell us how to get bond industry in multiple languages.
Example:
df = rd.discovery.search(
view = rd.discovery.Views.EQUITY_QUOTES,
filter = "RIC in ('CN113672CB=')",
select = "BusinessEntity, DocumentTitle, RIC, RCSTRBC2012Leaf,RCSTRBC2012LeafML"
)
df["RCSTRBC2012LeafML"].tolist()
0 -
The CN113672CB= is not in the EQUITY_QUOTES view. In this case, you cau use the SEARCH_ALL view instead.
df = rd.discovery.search(
view = rd.discovery.Views.SEARCH_ALL,
filter = "RIC in ('CN113672CB=')",
select = "BusinessEntity, DocumentTitle, RIC, RCSTRBC2012Leaf,RCSTRBC2012LeafML,RCSTRBCLeaf,RCSTRBCLeafML"
)
print(df["RCSTRBC2012LeafML"].tolist())
print(df["RCSTRBCLeafML"].tolist())CN113672CB= is in the FIXED_INCOME_QUOTES and FIXED_INCOME_INSTRUMENTS view.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 250 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛