-
lseg get_data() randomly missing data
Another problem: sometimes, for some requests the server returns empty values. If I rerun the query for the symbol with missing data, I get a correct response. This is an example of a relatively big query, so I will post only the logs: Request with 100 RICs: json = {'Entity': {'E': 'DataGrid_StandardAsync', 'W':…
-
Replicate Workspace App output via API
Dear community, Is it possible to replicate output given by specific apps of workspace through the API? For instance, I would like to replicate/obtain the following in python: MSFT.O SFDR cpurl://apps.cp./Apps/Corp/?s=MSFT.O&st=RIC&view=sfdr#/Apps/EnvtSocGov This means that at the end of my request I would like to have a…
-
Get Connect Error when open a session
Hi, I got a connect Error when try to open a session. How to fix it? import lseg.data as ld ld.open_session() An error occurred while requesting URL('https://api.refinitiv.com/auth/oauth2/v1/token').ConnectError('[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate…
-
Unable to run https://github.com/LSEG-API-Samples/Example.DataLibrary.DotNet
The sample has dependencies on the below Nuget package which i cannot find: LSEG.Data.Core
-
Is there a possibility to map a list of company names with a RIC
Hello, I am facing the following challenge: I have a list of company names (file exported from Mergermarket) which contains at least 10,000 companies. I would now like to map these companies accordingly so that I can obtain the RIC at the end and then pull ESG data for these companies if available. I hope my plan is clear,…
-
Chain RICs
Hi , I am using the codebook for the first time and I am trying to plot benchmark yield curve for a specific date, can you please help me how to extract data for the chain RICS like 0#FRBMK=
-
Is there a codebook for Workspace data?
I am looking for something I can download and reference as I work on M&A and Private Equity data I obtained from the platform.
-
lseg-data and refinitv-data discrepancy
I'd like to pull the last trade price using lseg-data for a commodity. After speaking to support through the platform, I was given the suggestion to ask on the forums. How can I replicate the same results from the picture above with lseg-data?
-
How to filter out Equity/Index Warrants from search.Definition result?
We use this query to get RICs: res=search.Definition( view = search.Views.EQUITY_QUOTES, filter = "AssetState ne 'DC' and RIC eq '*.MX' and ExchangeCode eq 'MEX'", select = 'RIC', order_by = 'RIC asc', top = 10000 ).get_data() It works fine, but the result contains more than 1000 RICs that look like GFN_tcR001.MX,…
-
lseg-data library prints Python warnings 2
Simple request prints 2 warnings in console. Could you fix this? Or any workaround exists?
-
I am getting Session not opened error while using refinitiv.data
I am trying to pull some reference data using refinitiv.data via python code but getting Errors: ValueError: Session is not opened. Can't send any request. Can you please help. Code: import refinitiv.data as rd from refinitiv.data.content import fundamental_and_reference platform_session = rd.session.platform.Definition(…
-
Eikon Python Data API migration to lseg-data. get_history() partialy missing data
It seems like I found another bug in get_history(). This is the query for ticks for some time range. The problem is - the more RICs I provide as 'universe' parameter, the more missing ticks are in the response. 2 RICs in the query. All ticks are present. The first tick for ALSEA has Volume = 2675. 4 RICs in the query.…
-
lseg-data open_session(). How to get error code and message?
If I run desktop_session = ld.open_session('desktop.workspace') with incorrect key or when LSEG Workspace is down, I see that: desktop_session.open_state == "Closed" How can I get the error code and message of why it couldn't open the session? I can see this data is in the log file. Can I get it from the code?
-
lseg-data library prints Python warnings
When I do something that involves timestamps, like : The last line prints this warning: LSEG-data.venv\Lib\site-packages\lseg\data_tools_dataframe.py:177:FutureWarning: Downcasting object dtype arrays on .fillna, .ffill, .bfill is deprecated and will change in a future version. Call result.infer_objects(copy=False)…
-
get_history() ticks, filtering by EVENT_TYPE
Migrating from get_timeseries() to get_history() get_timeseries() - automatically filters out some ticks, but get_history() returns everything + EVENT_TYPE field. Is there a way to modify the query so it filters out the ticks with certain event types? For example below, get_timeseries() does NOT return the ticks with…