I can display RICs in Quote window but I can't reach them via python in Codebook

Hello,
I encountered an issue with some RICs (e.g. USDEURFIXE=WM, PLN=D3, 0#CSRRF) which I can display in Quote window in Workspace, but I can't reach them via python (neither in Workspace Codebook nor with external python).
I have checked both with my internal teams as well as with LSEG support and it seems like I have all neccessary permissions to access these RICs (which is supported by the fact that I can display them in Quote).
However, when I try to reach them using python I either:
1. get empty values - in case I try following code:
import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = ['EURUSDFIXE=WM'],
fields = ['CF_ASK']
)
print(df)
2. Codebook doesn't display anything and it looks like it's loading indefinitely - in case I try following code:
import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = ['EURUSDFIXE=WM'],
fields = ['CF_ASK']
)
display(df)
version from point 2. is from Workspace CodeCreator.
I CAN access these RICs with Workspace Excel, I can't with python and R.
Can you please assist? I had 2 cases opened to LSEG support and after a month of no real answer I was redirected here.
Thank you.
Krzysztof
Answers
-
The typo I was referring to is missing ":" at the end of 0#CSRRF:, in your question. I have seen that I can query this RIC using LD Library, but for some reason RD library is not returning any data.
Can you try your queries with the newer LD Library.
0 -
Hello @Gurpreet
Sorry I don't know if I follow you.
- For now I am using CodeBook, not an external python. Do you mean that python inside Workspace doesn't have the newest LSEG Data libraries?
- My whole team had Workspace installed more or less at the same time. How come accessing these RICs works for some of us, while it doesn't work for others? Moreover none of us installed any additional/different libriaries in Workspace…
- If I have to still install any new library in CodeBook, how can I do it? When I try the command from the link you sent in your last reply (pip install lseg-data) I get an answer as on a screenshot. And after restarting the Kernel the behaviour is still the same…
0 -
LD library is already available within the Codebook environment. Just do as shown in the screenshot. If you have relevant permission, you should be able to get data as shown -
0 -
Hi @Gurpreet
And that's the whole point of my question here and previous Cases to LSEG Support - I have all permissions (double checked by LSEG Support) yet I can't access anything for these RICs in Codebook:
All I get is "Empty DataFrame" .
I know it should work. But as you can see, it doesn't. LSEG support was analysing WHY for a month, with no success. I was asked to try my luck here, in the developer portal.
0 -
We are referring to two different libraries. The code snippet that you show is using the legacy RD libraries, and the one I show uses the newer LD libraries. These both are available in the Codebook environment; but the RD Libraries would eventually go away. Can you try the same code, but with LD Libraries instead:
import lseg.data as ld ld.open_session ….
The legacy RD library is trying to get the CF_ASK field from the real time feeds. The permissions on these RIC's are very restrictive, and so I am unable to request data.
We don't have access to user entitlements. You should reach out to your LSEG account manager to help check why you can't get real time data for it.
0 -
PS: it should be ld.get_data and not rd.get_data.
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
- 555 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 中文论坛