for a news item(news.headlines.Definition("R:AMD.O AND Language:LEN AND Source:RTRS").get_data()), does {"_qcode": "R:AMD.O"} appear only once, or can a single news item contain multiple {"_qcode": "R:..."} values? For example, is it possible for one news article to include both {"_qcode": "R:AMD.O"} and {"_qcode":…
Looks like I do not have pip installed Refinitiv Do you know the pip install command for this? During a call client tried this "Offline installation for the LSEG data library for the Python" answer available on the portal (not fully he just copied the script and ran) but didn't seem to be working and he got the below error…
I was using python api to download daily data, it seemed that the whole process was not stable. was it because I used for cycles? import lseg.data as ld# Install with `pip install lseg.data` ld.open_session() DateTable2['startDs']=DateTable2.startD.dt.strftime('%Y-%m-%d')…
I was using python api to download daily data, it seemed that the whole process was not stable. was it because I used for cycles? import lseg.data as ld# Install with `pip install lseg.data` config = ld.get_config() config.set_param("logs.transports.file.enabled", True) config.set_param("logs.transports.file.name",…
Is there a way we could get certains indicators from a vector of Deal IDs? I have tried the get_data function, but that requires RICs. Is there something similar for deals? For example, "proj" is a vector of Project IDs, and "pjf_fields" is the vector of indicators I want to download. What functions could I use to get…
Hello All and @Jirapongse - Need an assistance can you help us to provide sample on how to retrieve historical data with specific Strike Price like 100, 101, 120 of '0#TY+ Tried the formula below but we are getting an error and also how to retrieve historicald data for expired option like TYZ24^2 import refinitiv.data as…
How to run use the lseg data library inside of the Docker container and connect to the LSEG Workspace session that is running outside of that container? I try to use those function in lseg data library in the docker container, while it keep saying session not open while in my code already included the `…
import refinitiv.data as rd from refinitiv.data.content import search rd.open_session() df = search.Definition( view=search.Views.FUND_QUOTES, select="RIC,TickerSymbol,DocumentTitle,ExchangeCode,AssetStateName,CommonName,ExchangeName,FundType,FundClassCurrency,IssuerCountry,AssetType,", filter="AssetStateName eq 'Active'…
Hello, I’m working on a Python script that needs to connect to LSEG without Workspace being launched. My goal is to retrieve the last closes (TR.PriceClose) and the latest trade via (TRDPRC_1). It turns out that I can retrieve TR.PriceClose without any issue, but not TRDPRC_1. here is part of the connect code: import…
It looks like you're new here. Sign in or register to get started.