-
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…
-
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…
-
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…
-
how to get all the contracts based on underlying Ric including expired?
Hi Devportal team, good morning. Requesting for your assistance. trying to get all the contracts based on underlying ric. but the result is missing contracts which have expired. need to get all the contracts [{"View": "EquityQuotes","Top": 10,"Filter": "( SearchAllCategoryv2 eq 'Options' and ((UnderlyingQuoteRIC eq…
-
What is wrong with my Symbol conversion code?
Hello Team please check the following code. The output that I want is USA country code specific but it is showing Exchanges from Thailand and Vienna. Also my asset class are code for funds, equities, certificates and bonds but Commodities futures also show in my output. Here is the code: from lseg.data.content import…
-
ld.news.get_headlines
Hi DevPortal, good afternoon. May I ask for your help. I use python library to fetch news by ld.news.get_headlines('Elon musk', count=10), while it return error: LDError: Error code 400 | Query cannot return any result. Is there any format for query in this function? Kindly pls provide me a sample script on how to do this…
-
Could you please provide us with Some docs for below API Dotnet sample of the API , if available Co
Could you please provide us with Some docs for below API Dotnet sample of the API, if available Connection/session details to start testing out this API
-
Pull historical Lipper derived holdings data using RDP API
Hi! I would like to pull historical derived holdings data for +1000 funds on LSEG Workspace (specifically Lipper) using the Python API. I saw a few posts that I might want to use the RDP API for such tasks. I have accessed RDP but can't figure out which functions I should use. Could you provide some instructions? Below is…
-
Getting Benchmark Revisions for Economic Indicator
Hello, When the US Jobs report (RIC: USNFAR=ECI) is released, they also send in revisions for prior months along with new data for the month. We noticed that the values in get_history call from LSEG python library does not reflect these revisions for prior months for few hours… today the values were updated 2-3 hours after…
-
Import os restricted and module not found errors
Hi! I am trying to run the code described in this article to retrieve earnings calls from the Python Codebook in LSEG Workspace: https://developers.lseg.com/en/article-catalog/article/Uncovering_Tariff_Exposure_from_Transcripts. However when I try to import os and pysftp I get the following errors: RefiImportError: Import…
-
Joiners and Leavers for STOCK EXCHANGE (not MAIN INDEX)
Hi, I'm interested in retrieving historical joiners and leavers for stock exchanges. I've gone through a number of Q&As and am aware that there is functionality to obtain historical joiners and leavers for the main stock INDICES, but I wanted to know if the same exists for stock EXCHANGES. For example, the code below…
-
how to get the EST screen for any random company as of -21 days ago?
Good morning Devportal Team, Client wants to get EST as of a historical date. e.g. day before quarterly announcement in Python Please provide sample script on how to do this for any Rics. Thank you for your advance support