-
About Python API Query
Hello I want to export all option contract information of the future CTZ6. I actually see two maturities related. However I use the below codes to extract I can only have one code exported. ld.get_data('0#1CTZ6+', fields= ['PUTCALLIND', 'STRIKE_PRC', 'CF_BID', 'CF_ASK', 'CF_CLOSE', 'IMP_VOLT', 'CF_VOLUME','EXPIR_DATE'])
-
I request information about an ISIN and it returns a different one via lseg.data (get_data function)
I request information about the ISIN XS2112473553 with get_data function (lseg.data library) and it returns data of ISIN XS2112470708 (just 1 row). I don't know why. Does anyone know how to tell me the reason? Thanks in advance.
-
Issue Retrieving Historical BS/CF/IS Data for 2330.TW (FINSUM) – ld.get_data() Error
Hi DevPortal Team, good afternoon. We are assisting a client who is trying to retrieve 10 years of historical Balance Sheet, Cash Flow, and Income Statement data for 2330.TW using ld.get_data(). However, they are encountering the following error: LDError: 'dict' object has no attribute 'url' This occurs when the script…
-
error using the API
Hi team, good afternoon. Requesting for your assistance. Client is getting issues on the API. pip install refinitiv_data==1.6.2 --no-deps$ pip install refinitiv_data==1.6.2 --no-depsLooking in indexes: https://artifacts.jpmchase.net/artifactory/api/pypi/pypi/simpleCollecting refinitiv_data==1.6.2 Using…
-
Pull live EURESTOIS data via Python API
Hello, We pull the 0#EURESTOISZ=R curve to reconstruct Benchmark Rate of Return. An issue we found last week on the 14th – EURESTOIS dropped significantly during the day. This was showing on the WS app, but we did not see the same results when pulling it live via Python API. I was hoping you could clarify whether there is…
-
How to fix the following output in python?
When retrieving officer/director education data using the TR.ODOfficer* field family through the lseg.data Python library, the returned dataset contains rows with education information (e.g., university, degree) that are not associated with any officer identifier (e.g., missing TR.ODPersonPermID, TR.ODOfficerPermID, and…
-
Daily Historical Rate for all Exchange Currency for USD via Jupyter Notebook
We are extracting all of the Exchange rate - Daily for all currencies paired with with USD. Timeframe requirement would be 20 to 40 years. Please see attached excel file extracted using Workspace Excel Add-in. This is only limited to one year time range due to limitations. but we are looking for a samples API script that…
-
How can I pull real time data on the Python API for LSEG
I am trying to pull real time data for some RICS listed below, however I find that Equity Inidicies show up as blanks with NULLS across. What can I do to pull the latest SPX Value? rics = [ '.SSEA', '.GDAXI', '.DJI', '.STOXX50E', '.FTSE', '.HSI', '.NIFTY500', '.N225', '.MXX', '.IXIC', '0#.SPX', ".INX", '0#.GSPTSE',…
-
Using python API to filter news for “government bond yield
headlines_response = news.headlines.Definition( query = "fixed income AND euro zone AND LEN", date_from = "2026-04-13T14:00:00", date_to = "2026-04-14T08:15:00", count = 100 ).get_data() Is there a way to filter for “government bond yield”? as the filter I am currently using, fixed income, is returning some news article…
-
Hello! I am currently trying to retrieve news using the Python API.
Hello! I am currently trying to retrieve news using the Python API. However, I cannot filter only english articles: the code I am using rn is the following: headlines_response = news.headlines.Definition( query = "fixed income AND euro zone AND LEN:EN", date_from = "2026-04-13T14:00:00", date_to = "2026-04-14T08:15:00",…
-
How can i align data dates when pulling price data from python API?
Hi there, I am using the refinitiv python API to pull price data for stocks in a universe. Both the "date" and "calc date" fields yield slightly different dates for different stocks. My code (see below) should be pulling weekly dates for the past year starting from the most Friday. How can I ensure the dates returned are…
-
Missing 1min data for the 18th of Jan
Hi Team, Client is using below script and 18th of Jan is not captured on the data pull. Tested on Workspace app and data is showing as needed. Appears to be an issue specific to API. Can the team check? Attached is a sample pull for Bid, behavior is the same for ask. import pandas as pd def…
-
Questions on Automated Price Retrieval and License Usage in Cloud Environments
Query; -I would like to automatically retrieve prices to run end‑of‑day PnL calculations. -My Python environment will be running on a cloud platform (likely Databricks). -Is there any licensing issue or limitation with running this process in the cloud instead of on my local PC?
-
LSEG Data SDK news.get_headlines() returns ScopeError: Insufficient scope for /data/news/v1/headline
I am using the LSEG Data SDK in Python and can query other endpoints successfully, but the news headlines endpoint fails with a scope error. Minimal example: import lseg.data as ld ld.open_session() # using configured credentials df = ld.news.get_headlines( query=["LSEG.L"], count=10 ) print(df.head()) ld.close_session()…
-
Getting option prices used to create CEVOLSURFACE
Hi, I sent this email to the support desk and they sent me here to ask the question. I am pulling volatility surface data from lseg.data api by doing so : def_get_vol_surface( ul_ric: str,): vol_surface=surfaces.eti.Definition( surface_tag="Vol", underlying_definition=surfaces.eti.EtiSurfaceDefinition(…