-
Is the recommended way to use it via the Python SDK with an App Key
I have one quick question about CodeBook: Is the recommended way to use it via the Python SDK with an App Key? I’ve been running into some blocks that I can’t seem to get around, and I’d like to confirm the best setup for this tool.
-
News and news metadata
Dear Support, I’d like to ask your help with Refinitiv Codebook. There is a smaple Python code in the Workspace application that can exctract news but the code stoped working since a few days. This sample code was provided by Refinitiv and I didn’t make any modification in it but I’d like to use it. I attached screenshot…
-
An error occurred while requesting URL('http://localhost:9000/api/udfError
When using codebook, user tried below scripts. import lseg.data as ld import pandas as pd sss = ld.open_session() fields = ['TR.IndicatorName','TR.IndicatorType','TR.IndicatorSource' ,'ECI_ACT_DT' # GMT Date ,'ACT_VAL_NS' # Time ,'FCAST_PRD' # Period ,'ECON_ACT' # Actual ,'RTR_POLL' # Reuters Poll ,'ECON_PRIOR' # Prior…
-
Codebook Workspace API - News help!
Hi, i'm trying to pull news headlines via the workspace API. rd.news.get_headlines("LSEG, MSFT.O AND Language:LEN", count=50) this code works for pulling headlines, but how do i add another filter for "content type" like in the APP NEWS 2.0? i.e. web news, research, transcripts, filings etc. I'd like to filter my query. I…
-
Saved in the codebook/kernel even after restarting the whole LSEG Workspace
Is there a way to use the variables that were saved in the codebook/kernel even after restarting the whole LSEG Workspace. So I can use them the next day/week without retrieving the data again?
-
the variables that were saved in the codebook/kernel even after restarting
Hi, Is there a way to use the variables that were saved in the codebook/kernel even after restarting the whole lseg workspace. So I can use them the next day/week without retrieving the data again?
-
Import os restricted and module not found errors
Hi! I am trying to run the code described in this article to retrieve earnings calls from the Python Codebook in LSEG Workspace: . However when I try to import os and pysftp I get the following errors: RefiImportError: Import 'os' is restricted. ModuleNotFoundError: No module named 'pysftp' Could you please advise how to…
-
Historical Leavers and Joiners of .SPX
I need a list of Leavers and Joiners at the beginning let say at 01-01-1990 and then have the in and out for the following years in Phyton API. So this need to be done in 2 times : First having the list at special date let’s say 01/01/1990 Second the IN and Out the following years. For sample RIC : .GDAXI To have a…
-
Error 503 when tested in codebook of Workspace
User has key but still failed to run open session with 503 error. How to fix the issue please? User's network is Internet.
-
I would like to inquiry about codebook, is the python environment secured and not open source? and a
I would like to inquiry about codebook, is the python environment secured and not open source? and also what server process the code? is the used library like numpy, pandas, matplotlib, scipy and etc secured and guaranteed from your side ? also can we execute the code internally on bank premises rather than AWS cloud?
-
Python Codebook Download Format
Hi Devportal, I have a few code on python codebook and looking to download as .py format no as .ipynb format. Please help me if you have any way to download it. Thank you.
-
Were there recent changes to "TR.IndexJLConstituentRIC.date" and "TR.IndexJLConstituentRIC.change"?
I used to get index changes in the SPX using the following code: index_changes = rd.get_data(universe = index_ric,fields = ["TR.IndexJLConstituentRIC.date", "TR.IndexJLConstituentRIC","TR.IndexJLConstituentName", "TR.IndexJLConstituentRIC.change"],parameters={"SDATE": init_date,"EDATE": end_date, 'IC':'B'}) As of…
-
Codebook App 30 min time frame
i have a question regarding LSEG Workspace as specially the Code Book App. I want to get historic data of an instrument e.g. LSEG.L for the fields BID, ASK and VOLUME on an 30 min time frame. In Excel it is possible to get the data via the Workspace Add-In. But in the Workspace Codebook App I don’t get the VOLUME data. How…
-
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 =…
-
Is there a validation process on the pricing templates in the codebook?
May I know is there a validation process on the pricing templates in the codebook? (e.g. FX forward, FX option, etc.)