-
.NET Refinitiv Data - streaming price/RTO region selection
Hi @wasin.w , As pointed out by you in https://community.developers.refinitiv.com/questions/118346/sqs-endpoint-subscription.html?childToView=121032#answer-121032 it is possible to choose streaming region for SQS subscription - how can we achieve that with .NET Refinitiv Data library? Specifically using Refinitiv.Data…
-
Get "related instruments" using the refintiv.data API
Hi all, I'm looking into using the refintiv.data python API to calculate benchmarks for bonds. Right now the process is very manual and not scalable, I'm searching the bond in the workspace and looking at the "Related Instruments" tab, then creating my query and looking at the results. (see screenshot) I would like to use…
-
How to accurately get data between your customised periods specified
Hi everyone, One thing that I am confused with regarding get_data_async, is that, depending on the datapoints I try and retrieve, I can't seem to get data within the scope of years that I specify. Say I have this for example: current_year = datetime.today().year start_year = current_year - 8 async with semaphore: #…
-
LSEG Machine Readable News Archive
Hello - We are trying to understand how to programmatically access the machine readable news archive via SFTP, in either Python or R. This is part of the Delivery Platform. We are hoping there are others with experience of using this within the community. Would anyone be able to share a code example? Thanks
-
How to efficiently and briskly retrieve datapoints for all SNP 500 RICs
Hi everyone, I am trying to retrieve some Fundamental and Reference data for all of the SNP 500 stocks. These datapoints include values such as Income before Extraordinary Items, EBIT, Capital, etc. Now, I am trying to asynchronously retrieve all of this data. At first, I tried to loop ethrough the list of the RICs of the…
-
The reasons why ReadTimeouts Occur Ocassionally when pulling data in Python
Hi everyone, I have a question regarding ReadTimeout errors that occur when pulling data with the Refinitiv Data Platform in Python. Sometimes, I face a read timeout, and then the next time I run my code, the data comes relatively quickly. I would like to know why exactly this happens in the first place, is it because of…
-
Pulling PERATIO from get_data_async
Hi everyone, I have a question regarding asynchronously pulling the PERATIO value. Here, I am following the notation as I found it in the Data Item Builder. However, when I try to pull data asynchronously with Python, it doesn't work. data = await content.fundamental_and_reference.Definition(universe='AAPL.O',…
-
.NET Refinitiv.Data - [PlatformSessionCore] RDP Authentication failed
Hi, We have a .NET service running 24/7 based on the library provided by LSEG, specifically Refinitiv.Data version 1.0.0-beta5. There was a problem that occurred on Monday, as we could not open session on our app start. We got the below Exception that we do not have control over. How can we control such scenario or similar…
-
1ST TIME USER SETTING UP DEPLOYED_PLATFORM_HOST/USERNAME
Hi all, greetings. I am first time user. I am going to try the example codes (https://github.com/LSEG-API-Samples/Example.RDPLibrary.Python). It requires setting up certain fields for credentials(https://github.com/LSEG-API-Samples/Example.RDPLibrary.Python/blob/master/credentials.ipynb). I think the first 3 is just the…
-
How to get the country of domicile using searchlight
Hello, I was trying to get the domicile country and the HQ country of a company. Using /data/entity-reference/v1/organization/company-info I can get the Country of Legal Registration, I was testing it using "BABA.N" and I was hoping to have another field with "China" as a value for the HQ country. How can I get both of…
-
Corporate Bonds: Retrieving Dates of Coupons paid this year, and other bond data
Hi everyone, I have 2 questions regarding the retrieval of Corporate Bond data with the Refinitiv Data Library in Python. I am currently trying to retrieve the coupon rate, next payment date, and coupon payment frequency, with the following formulae: 'TR.CouponRate','TR.FiNextPayDate','TR.FiCouponFrequency' I checked that…
-
Certain Refinitiv Data requests work individually, but not concurrently (Python)
Hi everyone, I have an issue regarding concurrency with functions using get_data(). My workflow is as such where I have multiple requests of get_data() and get_history() in different asyncrhonous functions that I am executing concurrently using Python's `asyncio` library. Now, the issue is, when these functions are…
-
On RDP News, how can I get HAR logs?
I would like to know how to get HAR logs for RDP news in case client face any issue.
-
RDP get_data error insufficient scope
Hi, I have a client trying to pull data via RDP API using Python. He is using rd.get_data and is getting the error below. He is able to retrieve data using get_history. Please advise how to fix. rd.get_data(['/LSEG.L', '/VOD.L']) No user scope for key=/streaming/pricing/v1/, method=GET. Insufficient Scope. Cannot load the…
-
SSL Certificate
Hi there, Client has upgraded their docker base image and run into the following error while accessing News on RDP endpoint. Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested…
-
RDP Filing API
Hi, In postman, I tried to [Get : Retrieve Doc URL by DocId] but got "404 page not found" message. As I successfully got DocId from [Post : Search by Organization Id ( GraphQL ) ] , I want to test to get URL. Can you please advise how to fix the issue?
-
Update code from RDP to RD
Hello, can you please help us to update this code snippet we used to play with rdp but not working anymore with rd. if (response.status["http_status_code"] == 202): #getting the status of the calculation ('not started', 'running', 'succeeded') status_url = "https://api.refinitiv.com" + response.headers["location"]…
-
Common account for the team
We need to use RDP API for development purpose, so i wanted to know how we could create credentials with our shared mail id, will we need to create a workspace account with that mail id first?
-
US Treasury interest rates from Refinitiv Data Platform
Hi - Does anyone know if there is an API to retrieve US Treasury interest rates, or other supported interest rates, from the Refinitiv Data Platform? The RDP URL should start with https://api.refinitiv.com/... Thank you. Doug
-
List of upcoming stock splits from Refinitiv Data Platform
Hi - Does anyone know if there is an API to retrieve a list of upcoming domestic stock splits (US and Canada) from the Refinitiv Data Platform? The RDP URL should start with https://api.refinitiv.com/... Thank you. Doug
-
Getting holdings statements using RDP API library
Hi, I want to get holdings-statements data from the RDP API, using the .NET library, but I don't manage to get a successful response. The way I request data is: EndpointRequest.Definition(url).Properties.BodyParameters((JObject)JToken.FromObject(holdingsStatementsRequest)).GetData(); Where holdingsStatements is the object…
-
Data not appearing when pull from RDP but can see data available on the interface?
Hi there, I am using RDP to pull some information regarding Indonesian companies. For the odd PermID, no information is appearing when I use "get_data", even though I can clearly see the information on the overview page for the company. Why might that be the case? This occurs whether the company is in a long list of IDs,…
-
RDP.Data() and RDP.HistoricalPricing - Is there any known inconsistencies between xlwings and RDP?
Hi I use refinitiv excel addins for functions like RDP.Data() and RDP.HistoricalPricing and so on. I am now tried to write another addon using xlwings with Python. As I'm having trouble getting excel to load my code, I wanted to check whether there are any known inconsistencies between xlwings and RDP?
-
Best approach to implement "/data/pricing/snapshots-resolve" Service use
Hello ! We are migrating from TRKD to RDP, I would like to use the "/data/pricing/snapshots-resolve/v1/chains/{ChainRic} " API to decrypt and access chains data. I'd like some recommendations on how I should implement calls to this API. My use case is to decrypt and pull all the data from the chains. I've been advised to…
-
Error: no proxy address identified, Check if Desktop is running
Hi, we got RW user/client getting this error in her Jupyter Notebook, (Her Codebook is working though.) She is using Refinitiv Workspace. RD version is 1.5.1 Python version is 3.9.13 She provided the logs below: (RDP Library logs) [2024-02-02T17:43:47.781761+08:00] - [DEBUG] - [rd] - [39140] | MainThread RD version is…
-
rd.get_data() for stock not returning correct data
Hi, I am trying to retrieve stock prices and volume data for S&P 500 constituent stocks (0#.SPX) at a particular date using the following code: rd.get_data('{}({})'.format(universe, date), ['TR.CompanyMarketCap(SDATE={}).date'.format(date), 'TR.RIC', 'TR.CompanyMarketCap(SDATE={})'.format(date),…
-
Seeking Time Interval Codes for 20-Minute and 30-Minute Data in Refinitiv DataPlatform
I am currently using the Refinitiv DataPlatform Python library for intraday data analysis. My focus is on equities, and I have successfully implemented a routine to retrieve 1-minute interval data using the following code: import pandas as pd import refinitiv.dataplatform as rdp # Define the datetime range start_date =…
-
What are Pros and Cons of using Secret and JWT
When selecting which type of Authentication to use for V2 within Platform Administration Application, what are the pros and cons of using Secret vs. JWT and vice versa
-
How to get all RIC data which I contracted using python websocket API?
I am using Python's websocket API to get real-time prices for financial instruments, how can I get all the prices for my contracts? Looking at the program here(https://github.com/Refinitiv/websocket-api/blob/master/Applications/Examples/RDP/python/market_price_rdpgw_client_cred_auth.py), it seems that only a single…
-
EPS Mean by date
Hi I'd like some help on Earnings Per Share (EPS) Mean please. I'm running the below, which is returning Mean EPS, but it doesn't appear to be returning a date value for each row (snapshot below). Any idea how to solve for this? I've looked in DIB, but no luck. eps2_df = rd.get_data( universe = ['DGE.L'], fields =…
-
news.get_headlines - how to include column for RICS
Hi I am using Refinitiv Data library to collect news articles in Python, which is working fine. Any idea of how I can return the list of RICS that the article relates to, just like News Monitor does in Eikon Desktop. I've included a snapshot of what I need below. Here is my current code: reg_df =…
-
Question about rdp news api
Get a couple of questions and will be great if you can enlighten me. FYI I am operating it in Python environment. * What is the difference between refinitiv.data, refinitiv.dataplatform and eikon * I can use the service quite freely when I have my Refinitiv Workplace logged on, however, how can I use them WITHOUT LOGGING…
-
Can one client id share among many instances on RDP Auth 2?
Our application has 4 instances subscribed to RDP by using EMA lib in each environment. We planed to migrate our application to use RDP Auth 2 corresponding to this link. Do we need to create 4 client_id/client_secret for each instance? Or each client_id can be shared.
-
Python RDP: IPA Financial Contracts: Caps/Floors, how to add "firstRegularPaymentDate" argument
Hi, I am trying to add an argument for "firstRegularPaymentDate" to the definition of a CAP instrument. I can see on the API that this argument is permitted, however, I can't work out how to add this argument in Python RDP. I need to use the RDP not API to perform this calculation. Documentation of available term in the…
-
Past prices
Hi there, Client is using desktop session for RD library desktop session to access historical pricing endpoint. They are interested in: * Scanning and extracting the existing issuances of the Thailand government bonds * Retrieving the past EOD prices for these bonds, up to a year ago. They would like to have an example of…
-
Refinitiv Data Platform - CFS - S3 native download
We are using CFS via the Refinitiv Data Platform to download a custom Tick History extraction. We can access the files through api.refinitiv.com and providing the token as a header, as in the [Python examples](https://github.com/Refinitiv-API-Samples/Article.RDP.Python.IntroToCFS/blob/main/CFSIntro.ipynb). However we wish…
-
How to calculate the actual volume of the first tick of a new day
We let the RDP example code run overnight. It looks like the volume(CF_VOLUME) of the first tick (please see an example tick below) received on the second day includes the pre-market volume. I'd like to subtract the pre-market volume to get the actual volume of the first tick. I saw there is a "BLKVOLUM" field in the…
-
RDP-Ownership responds error : "Too Many Request"
Hello there, please help take a look: I got a client say they sometimes get error on responds wiht "Too Many Requests". Client using https://api.refinitiv.com/data/ownership/v1/views/org-info?universe=AAPL.O, normally will have 1-3 RICs on a request, and 1-3 request per second. so i don't think this would hit the limit for…
-
Odd handling of bad fields
In trying to get RD working, I ran through the examples posted on https://pypi.org/project/refinitiv-data/, within a platform session (desktop session not an option for my purposes). This example was taking 9 *minutes* to return a response, and only returned the revenue number: df = rd.get_data( universe=['IBM.N',…
-
RDP news file stream api error EDS.CFS.ODPSGatewayError
We are using APIDOCS GET File Stream API to download RDP news using endpoint such as https://api.refinitiv.com/file-store/v1/files/4703-bde5-03238e31-8638-ee06b2f5adcc/stream Most of the time the API worked fine viz. we got an error 1 out 500+ invokation in a day or so. In one case we got this error ValueError: Unable to…