-
How to get the option chain for an asset from codebook app?
Hi Dev.Teaam , May I request for your assistance on this Client's query please? Thank you. eikon_data_extractor.py (v4)import datetime as dt import pandas as pd import eikon as ek ---------------------------------------------------------------------1. Conexión (usa tu App Key)ek.set_app_key("") ek.set_timeout(120) Si tu…
-
Fewer Observations when downloading data again
Hello everyone, I am a PhD student and I've been using Refinitiv to download firm-level data for my research. I'm currently facing a problem. I downloaded my main dataset around September 2024. In March 2025, I needed to add another variable, so I re-run the same script to download the data through the Python API. The…
-
Usage of Screener in Python
I need to know how to properly work with the API so I can use all data and be able to filter through it as in the Screener. Therefor I use python. I need help with binding the API and accessing the necessary Data. Example: average ROE of the consumer Discretionary Sector
-
For Ticker MICR.NS we are are not able to get the financial statement date while accessing the works
For Ticker MICR.NS we are are not able to get the financial statement date while accessing the workspace using python from the below code. Can you able to assist us on this. ######eikon_download.py############## import eikon as ek import pandas as pd import yaml import time import re from itertools import repeat from…
-
Company Fundamental FundUpdType sometimes returns NaT, sometimes value (ie Original, Restated)
I am downloading basic company fundamental information, but having problems with FundUpdType (this returns if the financial statements are Original, Restated, ect. For the example I am using IBM.N and M.N because M.N — ie Macys, restated their last 3 years in March 2025) Anyway, during the weekdays the following code (i…
-
cannot import name 'get_service_and_details_omm' from 'lseg.data.delivery._stream'
Hi, When I try to run the code bellow, I have the error ImportError: cannot import name 'get_service_and_details_omm' from 'lseg.data.delivery._stream' import lseg.data as ldimport pandas as pd ld.open_session() # Store data in DataFrames df1 = ld.get_data( universe=['LCOCALMc1'], fields=['CONTR_MNTH', 'EXPIR_DATE',…
-
Python script to download filings
Hi I would like to download all filings in the category "annual" that contain a given term. I can search for that on LSEG/Refinitiv workspace and I can also download files there but the dowenloads typically crash and cannot be resumed (very annoying). The helpdesk has not been able to help. One idea is to use a Python…
-
Workspace Python API: Error: no proxy address identified
We are currently migrating our users from Eikon to Workspace, and they are trying to run their Python scripts using the same scripts and api key that they used with the Eikon API (that as I understand should work fine for Workspace?). However they are getting the following error, which they don't get when the Eikon API is…
-
python libraries that have the token retrieval pre-built
how should I set up credentials so that it can make requests via API? Can I get an access token and snip of code for authenticating in python?, is there any python libraries that have the token retrieval pre-built already?
-
ld.get_history() and ek.get_timeseries() equivalent fields
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"…
-
Scheduled price extraction for currencies
Trying to extract scheduled price data for CNH and CNY identifiers , i was able to successfully extract EOD pricing for these identifiers but facing error when trying to extract the prices at specific time of day, please find below the API query details along with URL and error message Code from ayx import Alteryx import…
-
Get MMD curve data (TM3) using a python api
I am trying to connect to TM3 and download the MMD curve data using a python api, what is the best way to do this? What would be the data service to use? Thank you.
-
Historical beta calculation via Python API
What would be the best way to replicate the historical beta calculation through the Python API (preferably via lseg-data)? As I understand, there is currently no example available in the Workspace Codebook library of such a historical beta calculation, as the API instead only allows for obtaining the latest available data…
-
Defining a currency when looking at historical price data
Hi, I'm trying to look at various stocks over the past 10 years. I have several stocks that are non-USD. How can I amend the following query to return the USD version of TRDPRC1: ld.open_session() response = historical_pricing.summaries.Definition( universe = ['AAPL.O', 'SHEL.L''], interval =…
-
CDS data via LSEG API, stuck after reading all Developer Community threads
Hi All I’m doing some academic research around ESG and Credit Spreads and am using LSEG data for it. The data I’m downloading from the LSEG Data platform via API. I’m able to download ESG and fundamental data, however, I’m struggling with the CDS Data. I understand that the LSEG Data API is the new version of the Refinitiv…