-
LSEG Data API Metadata
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",…
-
lseg.data open session will not work
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.…
-
RDError: Error code -1
<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…
-
Sources selection
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)?
-
G8 Bond Auctions Data
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…
-
RIC under Future chain with Expiry Date using python refinitiv dataplatform
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")…
-
Insufficient Scope Error (trapi.streaming.pricing.read) When Using LSEG Data Library with ld.get_dat
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…
-
lseg.data python library
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,…
-
couple of questions
Hi Team, BIS here. we are migrating our API from Eikon .NET to the new LSEG .NET Data Library. we get some access denied for some instruments. is this some new right that is required? Status for item FEIcm1 { "ID": 3, "Type": "Status", "Key": { "Service": "IDN_RDFNTS_CF", "Name": "FEIcm1" }, "State": { "Stream": "Closed",…
-
Not able to close the Price Feed from stream.close function
Hi , Im using the Lseg Data Library ( ld.content.pricing.Definition ) for fetching the Price feed . When closing the stream using stream.close() statement ….i even put a pause of 5 seconds before calling stream.close ….the feed is not getting closed ..and getting following error in console : Traceback (most recent call…