This is my first part of script that should retrieve the latest data? cell 1 import lseg.data as ldld.open_session(app_key="a16192057d1e43808107deb4b9ba660b3b646780").open() cell 2 from lseg.data.content import historical_pricing as hp from datetime import date import os 1. Correct RIC for total commercial crude…
I am always encountering a timeout error when running this code: # Define the start and end dates (go two years by two years) start_date = '2025-01-01' end_date = '2025-06-30' # Generate a list of dates between the start and end dates date_range = pd.date_range(start=start_date, end=end_date) # Convert to a list of strings…
I am wondering whether it is possible to identify dual-listed stocks from Refinitiv. I am interested in dual listings (different to cross listings) where two entities enter into an equalization agreement and become dual-listed. There are two main types: Combined entities and separate entities. Combined entities refer to…
Customer successfully makes the key from APPKEY and places into their code, but getting below errors. Reference the attached email/screenshots from customer. What could be the issue here? Status code 400: Bad request on handshake url http://localhost:9005/api/handshake {"code" :400, "message" : "application key is not…
Are any delayed RICs can be used in the RDP Fundamentals requests. For example, can I use a delayed RIC in the endpoint https://api.refinitiv.com/data/company-fundamentals/v1/financial-statements/global/balance-sheet?package=base&universe=/1010.SE ? Thanks
Hi I currently have the following code that is fetching specific new articles using Python API. However I am not sure how to add the story text to the output. I currently have the Headline, StoryId, and Link to the article. Code: df = ek.get_news_headlines( 'Topic:GB AND (SOURCE:CMPNY OR SOURCE:MCE OR SOURCE:GEN)',…
What I want is to download the data for 3K ISINs. That can be done using Python.if I use python I don't get auto-imputed data. Below is the Python code client is refering import refinitiv.data as rdfrom tqdm import tqdmfor isin in tqdm(isins):try:response =…
Hi Team, Client have raised the below query. Could you please assist on the request. Query: May I ask you to try my code on your side, and see if the bug appears for you as well? It seems from your explanation that RDP is a more reliable backend platform. Why does this bug appear there then? My code again, for your…
Current sales, Net margin and wages or labour costs' and need to add to the field TRDPRC_1 with the correct RIC I would like to download the 'current sales' , 'net margin' and eventually 'wages' or 'labor costs' and need to add to the field TRDPRC_1 with the correct RIC, wchich i do not find in the DIB ... can you and your…
Hello, Need API code to extract 'total sales', current and 12m forward, Net Margin, profits forward 12m, of SP500 and STOXX600, and Total Labor cost, ideally for the two equity indexes, if not at country level?". I started the way below but does not work. May be you can correct it pls, takes probably a few seconds for you…
It looks like you're new here. Sign in or register to get started.