Can't get constituent RIC of Korean Index via Python API
I can't get the constituent ric of Korean Index such as KOSPI(.KS11), KOSPI200(.KS200) via Python API.
However, when requesting indices from other countries, I was able to obtain the data properly. (Photo1)
So, I searched for the Korean Index in the Quote screen, and the data was successfully retrieved without any issues. (Photo2)
How can I get the contituent RIC of Korean Index via Python API ?
Best Answer
-
Hi @sjh0724 ,
The error "Access Denied: User req to PE(3084)" indicates that the user who requests the item does not have permission for PE 3084 which is required to access data of this item.
Please contact your account representative (account manager or customer success manager) who can help you to grant permission to access the data.
Hope this helps and please let me know in case there's any other questions.
0
Answers
-
@sjh0724 So thanks for your question and sorry to hear about your issue. I believe this has to do with the fact that you are not subscribed to that exchange for realtime. On the quote screen you show for the KOSPI200 you can see that all of the quotes are delayed - the RICs have a '/' in front of them and also after the company name we have '/d' which both indicate a delayed feed. I have tested this and you can do this with our Refinitiv Data Library - first:
pip install refinitiv-data
then:
import refinitiv.data as rd
from refinitiv.data.discovery import Chainrd.open_session()
rd.get_data(Chain('0#.KS200'),['TR.CommonName'])
It didn't work for me either using the Eikon Data API. FYI the RD library already contains a full version of the Eikon Data API - so you can use both APIs from the same library. ie:
import refinitiv.data.eikon as ek
ek.set_app_key('YOUR APP KEY HERE')I hope this can help.
0 -
Thank you so much Jason ! However, when I tried to follow the steps you provided, I encountered the following error message. How can I resolve this issue?
0 -
Thank you so much Raksina.
As you have informed, this error was due to an authorization issue.
I spoke with the account manager and received guidance on additional services to obtain the necessary authorization.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛