Unable to load syntax in Workspace Codebook. Result only shows blank line or black square.

I am trying to run the code below but I'm only getting blank result or a black square as a result:
import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = [
'FDBc1'
] ,
fields = [ 'CF_CLOSE', 'CF_VOLUME', 'HST_CLOSE', 'HST_VOLUME' ]
)
display(df)
and
import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = ['FDBc1'],
fields = [
'PCTCHNG',
'BID',
'ASK_VOLUME',
'BCKGRNDPAG',
'BCAST_REF',
'CEDEL_NO',
'OFFCL_CODE',
'CTS_QUAL',
'ACTIV_DATE',
]
)
display(df)
I tried using other RIC such as XAU=, and it's working.
Also, when I checked console logs, the following error appeared:
Console error #1:
s @ remoteEntry .e9912d23454bd9c21990.js:1
remoteEntry.e9912d23454bd9c21990.js:1 Unsatisfied version 3.2.4 of shared singleton module @jupyterlab /mainmenu (required ^3.5.0)
s @ remoteEntry .e9912d23454bd9c21990.js:1
remoteEntry.e9912d23454bd9c21990.js:1 Unsatisfied version 1.30.0 of shared singleton module @lumino /widgets (required ^1.33.0)
remoteEntry.e9912d23454bd9c21990.js:1 Unsatisfied version 5.2.4 of shared singleton module @jupyterlab /coreutils (required ^5.5.0)
Console error #2:
jlab_core.78630a5b1b5e80eeb18c.js?v=78630a5b1b5e80eeb18c:2 Disabling terminals plugin because they are not available on the server
k @ jlab _core.78630a5b1b5e80eeb18c.js?v=78630a5b1b5e80eeb18c:2
refinitiv-web-toolkit-storage.js:2 [rtk-plugin-storage] [list] Could you please update to use the new 'types' property on the function parameter for supporting the mixed asset types
e.validateListActionType @refinitiv -web-toolkit-storage.js:2
526.1afc2f80da992418a555.js?v=1afc2f80da992418a555:1 LSP.WidgetAdapter: Editor not found in editor_to_source_line map
transform_from_editor_to_root @ 526 .1afc2f80da992418a555.js?v=1afc2f80da992418a555:1
526.1afc2f80da992418a555.js?v=1afc2f80da992418a555:1 LSP.WidgetAdapter: Could not retrieve current context Proxy
context_from_active_document @ 526 .1afc2f80da992418a555.js?v=1afc2f80da992418a555:1
Answers
-
Thank you for reaching out to us.
This might be due to a permission issue. As a workaround, you can use delayed RICs by prefixing the RIC with a '/' character (/AAPL.O or /FDBc1)
For example:
import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = ['/AAPL.O'],
fields = [
'PCTCHNG',
'BID',
'ASK_VOLUME',
'BCKGRNDPAG',
'BCAST_REF',
'CEDEL_NO',
'OFFCL_CODE',
'CTS_QUAL',
'ACTIV_DATE',
]
)
display(df)0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 698 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
- 2.9K Elektron
- 1.5K EMA
- 257 ETA
- 565 WebSocket API
- 40 FX Venues
- 16 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 283 Open PermID
- 47 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 24 RDMS
- 2.1K Refinitiv Data Platform
- 804 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
- 122 Open DACS
- 1.1K RFA
- 107 UPA
- 194 TREP Infrastructure
- 232 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 100 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛