-
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(…
-
Retreiving data for multiple KPI legs
I’m trying to retrieve data for the KPIs associated with a sustainability-linked bond (SLB). Many SLBs contain multiple KPIs (structured as separate KPI legs). However, when I query the data, I only receive results for the first KPI leg, even though the bond in my example has four KPIs defined. My goal is to retrieve the…
-
How can one retrieve the ESG ratings of bond issuers?
For different types of bonds (e.g. corporate, government), is it possible to retrieve the issuer and then its ESG ratings (in Python)? For example, for the bond ISINs NO0010844079, XS1989380172, DE000A351MM7 I would need to find the issuer of these bonds, and then the ESG scores or grades (if available) of those issuers.
-
Accesing historical StarMine Value Momentum Model scores
Hello, I've been attempting to download historical StarMine Value Momentum Model Scores with the following code: ld.open_session() fields = [ 'TR.ValMoCountryRank', 'TR.ValMoCountryRank.Date'] params = { 'SDate': '0', 'EDate': '-10', 'Frq': 'FQ'} ids = ld.get_history( universe=universe, fields=fields, parameters=params)…
-
Obtain price reaction from previous years using the python API for example ric- ORCL.N
Please help in this to client Case- 15755369
-
API Key / Codebook Local Access
Hi, Is it possible to download data from the Workspace without using Codebook? I.e. with an API key. Or accessing your local drive in Codebook to read/write?
-
Periodic Total Return for specified dates & currencies using Datastream in Python
Hi, I would like to replicate the below excel formula using the python api. The goal is to get the total return of an Isin for a given period in a specific currency. In this case EUR. As we wish to do this for a considerable amount of Isins over multiple time periods, we wish to move from excel to Python to achieve this.…
-
'UniverseContainer' object is not subscriptable
Hi, I am trying to get a price history for tickers that meet certain criterias, so I run : rd.get_history(universe = ['TFMBMH6', 'TFMBMK6', 'TFMBMJ6', 'TFMBMM6', 'TFMBMN6', 'TFMBMF7', 'TFMBMV6', 'TFMBMG7', 'TFMBMZ6', 'TFMBMH7', 'TFMBMX6', 'TFMBMJ7', 'TFMBMU6', 'TFMBMQ6', 'TFMBMK7', 'TFMBMQ7', 'TFMBMM7', 'TFMBMN7',…
-
Excel Formula to Python API code conversion: =@spotcalc(today,2)
Please convert in Python API: =@spotcalc (today,2) It is just a function that pulls the spot date and you can input a "days to spot" parameter. That's what I need to do in python.
-
Constituents of an equity index?
Can anyone tell me why it returns an error? Are there indices that are compatible with 0# notation and those are not? Is there something wrong in my code? How can I see the list of all the constituents of an index? import lseg.data as ld ld.open_session() This one works.str_test = "0#.TSPM" l_field_test = ['TR.RIC']…
-
Fund data points not pulling in through Python
Hello, It seems fund data points such as 'TR.FundCompany' or 'TR.FundType' or 'TR.Fund1YearPerf' are not pulling in through Python (I use Jupyter Notebook). Here is an example code: import lseg.data as ld ld.open_session() df = ld.get_data(universe = ['LP65011527'], fields = […
-
What are the item codes to use in a python code for Promoter holding, MF holdings, institutional hol
What are the item codes to use in a python code for data fields Promoter holding, MF holdings, institutional holdings, and their change on quarterly basis?