-
How to set the Period year = [2025,2026] to be dynamic in CODEBK?
how do i make a function like this to work? import refinitiv.data as rd rd.open_session() year = [2025,2026] df = rd.get_data( universe = ['CEAB3.SA'], fields = ['TR.NetProfitMean(Period=year1})', 'TR.NetProfitMean(Period=year2})'], parameters = { 'year1':year[0], 'year2':year[1] } ) display(df) the year list is dynamic.…
-
WC1 API python query
In the new WC1 API v3, I can see schema guidance on making calls using python requests. Is there any sample code to complete the authentication/authorization steps using python requests?
-
UnsupportedProtocol
Hello trying to run my usual code and getting the following errors : 2025-02-10 12:12:18,633 P[33189] [MainThread 4574627264] Error: no proxy address identified.Check if Eikon Desktop or Eikon API Proxy is running.2025-02-10 12:12:18,636 P[33189] [MainThread 4574627264] Error on handshake url…
-
Extraction of fixed income data via Eikon API
I am writing a Python script that should take the ISINs of bonds from a CSV file located in the same directory. The task is to load X bonds and plot their YTMs as points on a graph. Bonds with YTMs below certain criteria should be highlighted with a different color. However, the program throws an error because it cannot…
-
Filing API returns null content
Hi, When I tried to get filing data with Python these days. It will only return the organisation name and the count of metadata. The rest of the other fields are all null. I tried with both the filing method in the content layer package and the API method with token. The results are the same. I also tried to generate a…
-
Issue with field PDOR_1 with LSEG Data API
I am attempting to get the previous date of release of an economic indicator EUECBR=ECI. On Workspace Quote page that field id PDOR_1. I am able to get the data for this field with Workspace Excel as well, however in Python API it gives me NA. Can someone assist me with this please? I have attached relevant screenshots…
-
Refinitiv Workspace Transcripts Download using Python
Hello, Is it possible to use Python to download all companys' earnings conference call transcripts through Refinitiv Workspace at once? Although I found that some answers said no, I just want to double-check whether it is updated. Thank you very much!
-
Analysts Reports & New via API
Hi, Could you tell me which APIs I would use to get Reuetrs News and Analysts reports. And how I would get historical data for these. Best Gordon
-
Websocket GBP vs GBp
Hi, When a request is done to London exchange market, for example VOD.L using Websocket API, the price being delivered is GBp. Is there a way to obtain the price in GBP instead GBp? Thanks & Regards, Alfredo
-
Retrieving ISIN and LEI API
Please share the API to retrieve ISIN and LEI data elements using python or a SDK.
-
LSEG Data Library Python API: Missing scopes error in a Platform Session
Hello, I have a question about the LSEG Data Library for Python API. I usually use the API while the app is running (Desktop Session), and it works no problem. I would like to try use this on my Linux machine, and since the Workspace app doesn't run on Linux, I am connecting using a Platform Session. When I try this, the…
-
Entity Search Results Limited to Maximum of 2000?
Dear Support, I am trying to iterate through all the quotes on the ASX using the following query: https://api.thomsonreuters.com/permid/search?access-token={token}&entityType=quote&q=mic:XASX&start=1&num=100 using batches of 100 quotes and incrementing the start value by 100 for each batch.The results I am getting looks…
-
Asking for help with ownership data
Hi there I want to retrieve ownership data for one of my research, I got the error message as follow: ScopeError: Insufficient scope for key=/data/ownership/v1/views/consolidated/breakdown, method=GET. Required scopes: {'trapi.data.ownership.basic'} OR {'trapi.data.ownership.adv'} OR {'trapi.demo-access'} Available scopes:…
-
price index/PUTCAL_RTO for instrument TRRTOEU
Can you please check why I’m unable to pull price index/PUTCAL_RTO in Code Creator or Phyton? This field is working in Datastream Excel and in Workspace Eikon but not in Phyton/CodeBook. import refinitiv.data as rdrd.open_session()df =…
-
Fetch Instruments and Quotes through PermID.org
Hi, I'm exploring the public API on permid.org. I do have a list of LEI's for a bunch of companies. My task is to get all traded instruments (if there is more than one) and their respective trading venues. I managed to map the entity to my LEI and I also get the primary instrument and quote of said entity. Where I do not…