-
References for Using LSEG Data Library with Local Platform Session (ADS/DACS)
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)
-
Hi Team, is there any way we can download historical economic events from the Python API?
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 committees a director is serving in a company. I use codebook, and I
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…
-
Historical Pricing API - HYNWB00 Showing Latest Day Prices as <NA>
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…
-
Why does data item TR.HIGHPRICE not work for Nikkei 225 RIC .N225 when combined with other RICs?
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…
-
Pulling historical Data for a List of Stocks
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…
-
Get Corporate Bond Historical Pricing Data via lseg.data Library' get_history()
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…
-
Commodities Tradeflow via API
Hi Team. We have a client looking to pull Commodities Tradeflow data monthly as part of their automated process to store the data into a database using a python client. Could you let us know what API options are available?
-
unable to get portfolio weights for custom portfolio using ld.get_data("PORTFOLIO(Borealis)",
Hi Team , unable to get portfolio weights for custom portfolio using ld.get_data("PORTFOLIO(Borealis)",['TR.PortfolioStatementDate','TR.PortfolioModifiedDate','TR.PortfolioConstituentName','TR.PortfolioShares','TR.PortfolioWeight', 'TR.CompanyMarketCapitalization(Scale=6)'] ) second screenshot shows expected output using a…
-
Get_history request is not returning same fields - Unexpected error in data returned from data sourc
Hi The below request has worked very reliably over the past few weeks when I tried: df_prices = get_history( universe=ticker, fields=['TRDPRC_1','ACVOL_UNS','TRNOVR_UNS','VWAP', 'TR.TotalReturn', 'TR.CompanyMarketCap'], interval='1d', start=start_date, end=end_date, adjustments='CCH' ) But today I tried three times and…