platform.ldp connection does not retrieve data (desktop.workspace does)

Hello, I have correctly set up a configuration file and got started to lseg-data (I used to have my apps on eikon python library).
I am trying to fetch sample data for apple bid and ask price. When I do it with my workspace application open and use the desktop.workspace session (default) it works and returns data. When I do it with platform.ldp (does it matter if the workspace application is open?) it returns a null dataframe (no errors or warning).
Can you help me to understand why is that?
Best Answer
-
The error indicates that the account doesn't have permission to access AAPL.O.
[{"ID": 5, "Type": "Status", "Key": {"Service": "ELEKTRON_DD", "Name": "AAPL.O"}, "State": {"Stream": "Closed", "Data": "Suspect", "Code": "NotEntitled", "Text": "Access Denied: User req to PE(74)"}}]
You may try a delayed RIC (/AAPL.O).
df = ld.get_data(
universe=['/AAPL.O'],
fields=['BID', 'ASK']
)1
Answers
-
Hello @claudio_cirillo
Do you have LDP credentials? LSEG Data Platform is a separate product and is not connected to Workspace. In addition, your account would need access to streaming prices within LDP to get the real time data for an instrument.
I recommend to reach out to your LSEG account manager to check/get these additional products.
0 -
Typically, it could be a permission issue.
You can enable the debug log in the LSEG Data Library for Python to verify what the problem is.
config = ld.get_config()
config.set_param("logs.transports.file.enabled", True)
config.set_param("logs.transports.file.name", "lseg-data-lib.log")
config.set_param("logs.level", "debug")Run the above code before opening a session. The lseg-data-lib.log file will be created in the current directory.
Please remove the private information from the log file and then share it.
We can check from the log file if it is a permission issue.
0 -
Thank you so much, these are the log.
The code i was running is
ld.open_session(name = 'platform.ldp')
df = ld.get_data(
universe=['AAPL.O'],
fields=['BID', 'ASK']
)ld.close_session()
I have removed user id password and client id.
0 -
It worked, thank you very much for your help
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 707 Datastream
- 1.5K DSS
- 633 Eikon COM
- 5.2K Eikon Data APIs
- 14 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 6 Trading API
- 3K Elektron
- 1.5K EMA
- 259 ETA
- 570 WebSocket API
- 41 FX Venues
- 16 FX Market Data
- 2 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 26 Messenger Bot
- 4 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 284 Open PermID
- 47 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 25 RDMS
- 2.2K Refinitiv Data Platform
- 12 CFS Bulk File/TM3
- 903 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 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
- 126 Open DACS
- 1.1K RFA
- 108 UPA
- 197 TREP Infrastructure
- 232 TRKD
- 921 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 106 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛