-
Issue when opening new session using python lseg.data library
Receiving below error when opening session using python lseg.data library Code: import lseg.data as ld ld.open_session(config_name='./config.json') Error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File…
-
How to set up and activate EIKON API for bond data loading
Hi team, I am a beginner of LSEG and want to set up EIKON / LSEG APIs to load historical data or economic fixings using Python. Could you please provide a step by step guide for: Enable data loading via API using Python, e.g. system setup, key creation and etc. Please provide a Python example using this case…
-
get_history bulk request
Can somebody help me make this request more efficient, so that it will consume less requests? Goal: i need daily timeseries for several instruments (options) for some fields. In the past, way before LSEG, when it was still called get_timeseries instead of get_history, i was able to retrieve timeseries for multiple…
-
TR.F.ComShrOutsTot
Hi Dev Team, Good morning.! May I request for your assistance please. Client wants to pull data using FQ0. and needs code that to use for the LATEST AVAILABLE shares outstanding. Script given by client: import refinitiv.data as rd rd.open_session() df = rd.get_data( universe = [ 'NVDA.O','AJG','ABBV.K', 'ACCO.K', 'AMG',…
-
How to download DHOLD with python for inactive funds? Details are attached.
I and my co-authors are trying to download the details of holdings portfolios of mutual funds. We can download the fund holdings for active funds (like LP40004027-AMG Boston Common Global Impact) by using the python code given below. This code gives the Fund Security Owned Name, Fund Security Owned RIC, Fund Investor…
-
Mapping Bond ISIN to Issuer PermID
Hello! I would love to get some insight into a complete python method of mapping a bond ISIN to the issuer's PermID. According to helpdesk, there isn't a way, so I'll share how I've managed so far. Step 1: With my list of ISINs, I use the formula @RDP…
-
refinitiv data module updates
Hi, with what frequency is refinitiv-data python api module updated? I see the latest available update about a year ago and my system starts to complain that it is a bit too long ago..? any information on your maintenance and intended updates appreciated.
-
Unable to obtain latest information on marketcap.
Hello Support Team, Until recently, my nightly batch job was able to retrieve the same-day market capitalization. (Command example) test_df, e = ek.get_data('9984.T', ['TR.IssueMarketCap.date', 'TR.IssueMarketCap', 'DSPLY_NAME']) For example, when I ran this in the evening Japan time, it used to return the market cap for…
-
API to download broker research report from ADVRES app in workspace
Can someone help/ guide me about the feasibility to download broker reports on ADVRES app on worksapce via API. would appreciate your help on this.
-
Is there a way to download Current and Former Officer data through API?
Hello, I'm using the refinitiv.data library. I wonder if there is a way to download current and former officer data using the function get_data(). Actually, I only obtain current officers. Thanks!
-
Cannot access IPA API endpoints
I get the following error when using the example code (Examples/Quantitative Analytics/Curves/Cross_Currency_Curves). The code is supposed to fetch a curve from https://api.refinitiv.com/data/quantitative-analytics-curves-and-surfaces/v1/curves/cross-currency-curves/forward-curves . I am wondering if these endpoints are…
-
Hello team how to bypass the TOP=10,000 limit in Workspace API CODEBK?
import refinitiv.data as rd rd.open_session() rd.discovery.search( view = rd.discovery.Views.GOV_CORP_INSTRUMENTS, top = 10000, filter = "((DbType eq 'GOVT' or DbType eq 'CORP' or DbType eq 'AGNC' or DbType eq 'OMUN' or DbType eq 'OTHR') and IsActive eq true and (RCSCountryGenealogy in ('G:DE')))", select =…
-
SPX history uses incorrect tickers
Hi, When trying to get historical data for SPX, get_history and get_data returns data using tickers of the current constituents and not of the constituents at the requested time. For instance, ld.get_history(universe=[f"0#.SPX"], fields=["TR.PriceClose"], parameters={"SDATE":"2011-02-01"}) returns the price closes of the…
-
Extracting historical market data for the following RIC using Python (ZARONZ=R & ZARONIA=RBMN)
I am trying to extract historical market data on the following RIC: ZARONZ=R & ZARONIA=RBMN. For ZARONZ=R what field can I use as I have tried using the following formula but it's not working: df_close = rd.get_history(universe=['ZARONZ=R'], fields=['TR.CF_CLOSE(Frq=D,SDate=2025-07-24,EDate=2025-09-25)']) For ZARONIA=RBMN,…
-
LSEG Analytics Python SDK: Credit curves constituents
Hi, I am trying to fill Credit curves constituents with this : "constituents": { "creditInstruments": { "EUR": { "financialFilters": { "bond": { "zScore": { "field": "ZSpreadBp", "priceSide": "Mid", "maturityBuckets": [ { "tolerance": 3 }, { "tolerance": 3 }, { "tolerance": 3 }, { "tolerance": 3 } ] } } } } } } Could you…