The most recent content from our members.
We are migrating from Eikon Data API (ek) to LSEG Data Library (ld) Some parts of our codebase contain something like the following snippet data = ek.get_timeseries(series, start_date=start_date, end_date=end_date, fields=["TIMESTAMP", "CLOSE"]) So we got all of our time series of interest in one go. Now, the field "CLOSE"…
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,…
looking to pull data from LSEG workspace application into VS code for the development of downstream generic/parametrized, user-driven ingestion using the following code to establish connection, session = rd.session.platform.Definition( app_key="YOUR_APP_KEY", grant="password", # or "client_credentials" for service accounts…
Currently, we use the Python API and ld.get_data() to extract fundamental and ESG data of several companies over time. We want to make sure that the date variables we are using in both requests (see below) correspond to the last day of the company’s business year so that we can interprete both datasets on a fiscal year…
I am working on transitioning my data pulls from the Eikon API to the new LSEG API and cant get these Eikon RICs to work when using the ld.get_history() method. Are there LSEG equivalents to these tickers? RIC_list = ['USMPSF=ECI', 'USMPMF=ECI', 'USNPMI=ECI']RIC_list2 =…
When retrieving period data for several RICS with LSEG API the financial periods, periodenddates and values seem to be correct for several periods, but for the relative financial periods always "FY0" is given. How must I change the statement to get the correct rfperiods? This is my program: # list of RICS for…
I have a list of over 800 bond ISIN and I am using ld.get_data() in a loop to download historical pricing data in chunks (see attached txt file). I need a solution to handle cases where no data is available, so that no errors are returned. First isin chunk: ['ES0200002022', 'IT0005057770', 'US00289WAA99', 'USE00020AA01',…
Is LDP account required to run the following script? Please advise. Import lseg.data as ld non_streaming = ld.content.pricing.Definition( ['EUR=', 'GBP=', 'JPY=', 'CAD='], fields=['BID', 'ASK'] ).get_stream() non_streaming.open(with_updates=False) non_streaming.get_snapshot()
It looks like you're new here. Sign in or register to get started.