-
Financial data quarterly wrong date?
When doing some data quality checks I found some instances where the "Original Announcement Date" was before the date of some values like Total Assets. I came to reproduce that error in a simple request: from lseg.data.content import fundamental_and_reference fundamental_and_reference.Definition( ["4295859017"],…
-
For LSEG Data chain.py, example using platform.deployed, getting A18: Service unknown.
The connection is to RTC. I see in a post need: \*rtc\*defaultJsonServiceId, I believe in RTC rtc.cnf. Is this correct ? How to use chain.py example to connect to local rtc ?
-
Clarification on RIC Suffix with “^”
Hi, I have a list of RICs that include the suffix “^” followed by a letter and number — for example, ARNC.N^H23 and GTX.N^I20. Could you please explain what the letter and number after the “^” represent? Thank you for your help!
-
Can't fetch stories for some storyid via lseg.data.news.get_story() python module
Dear Team , Facing issue with pulling stories for some storyids via python but these are visible when I navigate from workspace UI. Please guide me with this issue. I am appending below some example storyids for which I don't get any news stories. using following method to fetch: story = ld.news.get_story(str(storyid))…
-
How to get READCOUNTS of NEWS
Hi folks, is there anyway that I can see the readcounts of a specific news anywhere in LSEG?
-
Obtaining Effective From and To Date Times for firms' former names
Hi, I am using the python module lseg-data to retrieve the former names of certain firms by using the following formula: import lseg.data as ld df = ld.get_data(universe=['4295904307'], fields=['TR.FormerlyKnownAsName']) While this code downloads the list of names, I was wondering if there is some way to access the…
-
Im having trouble the get aligned data with dates for some instruments
Im having trouble with the API. As you can see below, the resultant dataframe comes with null values on the last dates, and values on the first dates. The problem is that the "MATD3.SA" didnt exist before 2021. On excel, with same parameters, the dataframe comes alright, with null values up to 2014. So why is this…
-
Retrieving annual reports using LSEG API
For a research project, I would like to download the annual reports for a large set of European firms over the period 2010-2023 (following a similar approach as in this article: Global Evolution of Environmental and Social Disclosure in Annual Reports - Lin - 2024 - Journal of Accounting Research - Wiley Online Library).…
-
Using companys' proxy with lseg-data package
Hi ! In order to use the lseg-data Python package, I've fiddled in the GitHub standard package to try and open a session. However I am getting an error that obviously says that I need proxy authentication to actually test it properly (the error is quite clear). I am setting the proxy settings in pip.ini for example if I…
-
LSEG Data Platform Concurrent Request Maximum
I'm planning to implement threading to speed up large data downloads. Is there/what is the limit to the number of concurrent requests that can be sent from a single session?
-
Migrating scripts from eikon to lseg.data python module
Am looking to use my eikon Python scripts with Workspace now active, and am aware the Eikon API proxy will no longer be working from July onwards. Is there a way to ensure my scripts remain compatible after July? Related question - does just opening an ld.open_session() accomplish the same thing in Workspace as…
-
Cannot open lseg data session
Hello, I'm trying to migrate my scripts from refinitiv-data api so the LSEG-data api. I'm trying to create a plateform session, using a lseg-data.config.json file. I first read that config file, using ld.open_session(config_name = "lseg-data.config.json") . But when trying to test my connection using a simple API call,…
-
Error with fundamental_and_reference.Definition data api
With the code below: df_chunk = fundamental_and_reference.Definition( universe= tickers, fields = ['TR.CLOSEPRICE.date','TR.CLOSEPRICE','TR.Volume'], params = {"SDate": 0, "EDate": -756, "FRQ": "d"}) why is it raising error? Error processing chunk 1: Definition.__init__() got an unexpected keyword argument 'params'
-
how do i get CF_LAST and CF_CLOSE with lseg.data?
Im trying like this, but it is not working: ticker_list = list(tickerStrings) # Your ticker list max_items = 100 results = [] for i in range(0, len(ticker_list), max_items): try: chunk = ticker_list[i:i + max_items] df_chunk = ld.content.pricing.Definition( chunk, fields=['CF_LAST', 'CF_CLOSE'] ).get_data().data.df…
-
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':…