-
company vs. security question
Hello. I am collecting data using this very simply piece of code: response = ld.get_history( start = min_date, universe= security, end = max_date, fields= price_fields, adjustments = adjustment_factor, ) I am using RICs as identifiers. How do I make sure that I am only collecting price data for the primary security? Is…
-
Retrieving 10-Year Monthly Returns for Multiple Mutual Funds via LSEG Workspace API in Python
Hi, I'm using LSEG Workspace for Students and trying to retrieve monthly returns for a list of mutual funds over the past 10 years using the API in Python. However, I haven't been able to find a function or endpoint that provides this type of time-series return data. I've checked the documentation, but couldn't identify a…
-
Trying to get historical information about a company using the following code
I'm trying to get historical information about a company using the following code: <code> import refinitiv.data as rd response = rd.get_history( universe = ["AAPL.O"], fields = ['TR.AvgDailyValTraded5D', 'TR.AvgDailyValTraded20D', 'TR.AvgDailyValTraded30D', 'TR.AvgDailyValTraded52W', 'TR.CompanyMarketCapitalization',…
-
"The access to field(s) denied."
.As per client, he can see the data in Workspace desktop but when trying to pull it in API, he is getting the error (screenshot)| Client has relayed access for RIC AAPL.O Client is using the below script: events = rd.get_history( universe=['AAPL.O'], start=dt.date(2024, 1, 1).strftime('%Y-%m-%d'), end=dt.date(2025, 12,…
-
Depth Data
Hello, I am currently implementing a migration from old Refinitiv Data API to the new .NET Refinitiv Data Library. I am trying to get the following depth data through the PricingStream but I cannot get any returned value. BEST_BID1 (from 1-8) BEST_BSIZ1 (from 1-8) BEST_ASK1 (from 1-8) BEST_ASK1_SZ (from 1-8) I do not see…
-
Trouble retrieving historical data with rd.get_history() – mostly nulls returned
Hi everyone 👋 I'm trying to retrieve historical data for a company using the Refinitiv Data Library, but I'm running into an issue where most of the fields return nulls. Here's the code I'm using: import refinitiv.data as rd response = rd.get_history( universe=["AAPL.O"], fields=[ "TR.AvgDailyValTraded5D",…
-
Unable to collect data for the field 'TR.GICSSector' and some specific identifier(s). Requested uni
Query: Hello, I want to make a request on DataStream/Refinitiv using Python. I tested for 3 ISINs. I first tried with import refinitiv.data then with lseg.data, but I always get the same error: Erreur pour DE000A1EWWW0 : Unable to collect data for the field 'TR.GICSSector' and some specific identifier(s). Requested…
-
Pricing Stream does not connect
Hello, I am trying to set up a Pricing Stream in our app but I am getting a StreamDisconnected msg "Message": "Unable to connect to the remote server", "Endpoint": "ws://localhost:/api/rdp/streaming/pricing/v1/Websocket" But when I use the example projects for pricing stream. It works well. The endpoint looks a little…
-
session problems
Hi,Im trying to use the lseg.data library in python to set up an analysis for my portfolio, I need for that access to data without being connected to the workspace.For my boss to view the data I need it to run on cloud and not on my computer since i cant always be available to run it.Therefore im setting an app at a cloud…
-
Jupyter notebook on Codebook
Hi Dev Team, I would like to receive an updated Jupyter notebook on Codebook for bonds whereby I can extract the historical price and yield with the associate events. Thank you for your assistance.