Can you please confirm how to add filter to screen the funds via API on Workspace? How to build the screening parts into the filter? For example IA sector = North America using the script below : import refinitiv.data as rd import pandas as pd rd.open_session() df_universe = rd.discovery.search(…
I’m getting an error while fetching Qatar Stock Exchange data using the LSEG Python SDK. import lseg.data as ld session = ld.open_session( config_name='config.json') df = ld.get_data( universe=['QNBK.QA'], fields=['TRDPRC_1']) Error: lseg.data._errors.LDError: Cannot prepare connection OMMStreamConnection name :…
Happy Holidays Team! Posting this on behalf of our client: Query: How do i fetch historic data from api? we could take this for an example: i want to get the seasonal data of TR.H.PE, TR.CompanyMarketCapitalization, TR.F.TotRevenue from 20231231 to 20250930 for ['688256.SS','600050.SS'] We have this sample code: import…
Hi team. Raising this question on behalf of an external client (Brian Paul from The Capital Group Companies, Inc) How can get references to utilize the Data Library for Python where I can use a platform session where we have our own LSEG local platform (IP of Local server and DACS username/AppID)
I tried using the Code Creator and the fields supported is only 14. Client is looking for the following: timestamp, polls, surprise, prior, revised, etc. When I provided the result of Code creator, they want to know how they can set the parameters but per checking this seems to be not possible. Can you help and advise on…
I'm trying to get the names of x is serving in a company. I use codebook, and I cannot retrieve the information I see in the screen. For instance for company 3257.TW, Tao-Lin Chang is independent director, and also member in CSR reponsibility commitee, Audit and compensation committees. With the codebook I can only…
Hi, I am trying to fetch the the daily timeseries data for HYNWB00 with the following code: df = historical_pricing.summaries.Definition( universe=['HYNWB00'], start="2019-01-01", end=datetime.today().strftime("%Y-%m-%d"), fields=['TRDPRC_1'], interval=historical_pricing.Intervals.DAILY).get_data().data.df But the data…
Query: API Code is working but not with .N225 index Client's code: import lseg.data as ld # pip install lseg.data # pip install DatastreamPy from lseg.data.content import fundamental_and_reference ld.open_session() # import refinitiv.data as rd # pip install refinitiv-data import pandas as pd from tqdm import tqdm import…
Hi, I am trying to retreive historical Data for a list of stocks. Trying to retreive the following items: 'TR.TotalReturn' 'TR.PriceClose' 'TR.PriceCloseDate' 'TR.NIStockSplitDivisionRate' 'TR.NIStockSplitDivisionDate' It works for a a single Stock, like "AAPL.O", but not for the list of stocks. Do you have any idea, what…
Hi, I'm trying fetch historical price data for a pool of corporate bonds (around 7,000, so it's a large pool) using get_history() function in lseg.data API. I'm running into several problems here. First, consider the following case shown in the screenshots. Suppose I try to get data for 'XS1746107975' (i.e., an ISIN…
It looks like you're new here. Sign in or register to get started.