-
Please check we are getting error using the below code.
Please check we are getting error using the below code. import refinitiv.data as rd rd.open_session() df = rd.get_data( universe = ['.JTOPI'], fields = ['TR.IndexJLConstituentRIC.change'] ) display(df)
-
Python Screener() function error
Dear all, I get an error when I try to run a screen in Python on CodeBook. I start with the example ,ipynb file provided (titled "Access__Screeners_And_Peers.ipynb") To get the screen I want, I follow the explanations on the Developers portal: I use the screener function on the Workspace desktop app (no error), then I…
-
Raising obo a client: TR.F.TotAssets in API
I am trying to retrieve some balance sheet data for a sample of large cap in euro area. Among them, I am not able to find the data even though I was able to 2 weeks ago: ACBr.AT FR0000131104 DE0005140008 ES0180907000 IT0005239360 DE0005552004 DE0007100000 ES0148396007 FR0000120073 FR0010208488 Do you know why is this the…
-
Use API as a screener
What could I use to pull LSEG data with the API similarly to the screener function? IE, I wanted to pull the top 100 companies and list their state of incorporation, market cap, and industry?
-
Is there a way using the LSEG API to pull company data based off of the Ticker and not the RIC?
Hi team, Is there a way using the LSEG API to pull company data based off of the Ticker and not the RIC? I tried doing it on my end using AAPL instead of AAPL.O and I encountered an error. import refinitiv.data as rd rd.open_session() df = rd.get_data( universe = ['AAPL'], fields = […
-
Rate Limit Trigger in get_hist
caling get_hist for historical data. the flow is getting the consititute of Index like IDX and SPX, knowing the constitute then enquiry history data of 500 company for 20 days data , for example SP500. Then, for top 100 most traded company, find option chain for each of them, getting the option ticker RIC. get history data…
-
API timeout
COuld you help me to define a function to guarantee im not bypassing the API limits? I tried lots of thinks with the help of ChatGPT, but couldnt arrive in something that doesnt raise error of "reading timeout". import time import pandas as pd def get_lseg_data(universe: list, fields: list, parameters: dict, version: str =…
-
Downloading historical ETF holdings
I want to download the historical stock holdings of an ETF (VONE.O). I tried the following: holdings = rd.get_data(universe = ['VONE.O'], fields = ['TR.FundHoldingRIC', 'TR.FundHoldingName', 'TR.FundHoldingsDate', 'TR.HoldingsDate', 'TR.FundNumberOfShares', 'TR.FundPercentageOfFundAssets'], parameters =…
-
I’m currently using Python and the Refinitiv Data Library to fetch positioning data. When I query Br
I’m currently using Python and the Refinitiv Data Library to fetch positioning data. When I query Brent data using the following code, everything works as expected: brent_position = rd.get_history( universe=['3ICELCOMLNG','3ICELCOMSHT', '3ICELCOMSPD', '3ICELCOMNET', '3ICELCOTTSHT', '3ICELCOTTLNG', '3ICELCOTTSPD'],…
-
Raising obo a client: How to set up Refinitiv API for python?
Query: I'd like to set up the Refinitiv API for python. Can you please guide me? I have provided the following to the client: Here are the steps to set up the API connection via Python to pull data in LSEG Workspace: Step 1. Import the necessary libraries: import refinitiv.data as rdimport lseg.data as ld Step 2. Set up…