I am using the python api to retrieve historical data of Economic Events using the get_history() method but i cant find the fields which it will take to retrieve different columns such as Prior , Actual , Revised etc.. Any reference material will be very helpful.
I want to access the metadata information I can see on workspace for a set of cash prices (image attached). I'm assuming it's something like: import lseg.data as ld import pandas as pd APP_KEY = os.getenv("LSEG_APP_KEY") ld.open_session(app_key=APP_KEY) ric = "SYB-2YNOLAF-C1"fields = [ "TR.CommonName", "TR.AssetCategory",…
Hello Team, I hope all is well. I'm seeking for your help, (for example) Apple, Microsoft and Tesla have bonds going 10 years and each of these bonds have a specific ISIN, unfortunately the ISIN doesn’t map directly to the company’s RIC but to the bond’s RIC. My goal is to sort of input an ISIN of a bond and return a…
When importing the lseg.data library in python and then calling ld.open_session() im getting an error Response 401 on handshake url http://localhost:9025/api/handshake For previous library refinitiv.data we were able to solve the situation by setting an environment variable 'NO_PROXY' like displayed here.…
<refinitiv.data.session.Definition object at 0x7f4339b689d0 {name='codebook'}> Here we are using the LSEG Data Library version 1.6.1 'SCREEN(U(IN(Equity(primary,public,active))),TR.F.PriceToBookValuePerShr(Period=FY0)<1,IN(TR.ExchangeCountryCode,JP, US, FR, CA, GB, DE, IT, TW, CH),CURN=USD)' RDError: Error code -1 I've…
I would like to retrieve news only from a selection of 100 sources. Is there a way to query the sources using an analytics metric (e.g. popularity)?
Hello, I am interested in fetching Government Auctions data for G8 countries pythonically through the refinitiv.data API. I am currently utilizing the rd.discovery.Views.GOV_CORP_INSTRUMENTS to do this. However, the issue is that in this View, it seems like the data are overridden if there is a new re-opening auction for a…
Hi Need help to get underlying RICs under Futures chain with expiry date of each underlying RICs via python refinitiv dataplatform I tried below script facing issue, plz help me input_excel = "chain_list.xlsx" sheet_name="Sheet1" column_name = "Chain RIC" df_chains = pd.read_excel(input_excel, sheet_name="Sheet1")…
Dear LSEG Developer Community, I am encountering an "insufficient scope" error when using the LSEG Data Library for Python (version 2.1.1) to retrieve snapshot pricing data for EUR= and GBP= via ld.get_data. Despite successful authentication and session opening, the request fails with a 403 Forbidden error due to missing…
I would like to get data information of an instrument by using the lseg.data python library I tried to use the library lseg.data.content.symbol_conversion, but it seemed that I don't have access to a scope to use this endpoint (trapi.search.lookup.read) So I tried to requested directly by using the endpoint,…
It looks like you're new here. Sign in or register to get started.