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 =…
am trying to use the codebook to download in excel loans data from the screener. I am using the following code: import refinitiv.data as rd from refinitiv.data.discovery import Screener rd.open_session() loans = Screener('U(IN(DEALS)/*UNV:DEALSLOAN*/), BETWEEN(TR.LNTrancheClosingDate,20240301,20240302)/*dt:Date*/,…
GIT Repository Link: Example.DataLibrary.Python/Examples/1-Access/EX-1.01.01-GetData.ipynb at lseg-data-examples · LSEG-API-Samples/Example.DataLibrary.Python · GitHub Hi I am unble to test the example provided and return any data. Some functions that are working but I'm only receivng empty dataframes. Please see images…
The LSEG historical pricing API (via either lseg.data.content.historical_pricing or lseg.data.get_history) appears to request all securities at once. This means that for large universes we are prone to generate 429 errors, since the backend is rate limited. It does not appear that the API has any handling for this nor any…
Hi, I'm trying to run one of the scripts I found in your GIT Repository, along with the configuration file. However, I am running into the following error: """ You open a platform session using the default value of the signon_control parameter (signon_control=True). In future library version v2.0, this default will be…
Hi all, i am trying to retrieve a list of fields for a set of bond cusip codes, however i am getting an inconsistent output. First when i retrieve i see that the dates/indexes instead of going from 2010-01-31 to 2024-12-31 it starts in 1968 and goes until 2024. Additionally i have lots of missing values that should be…
Given the exmaple dataframe below (real dataframe is more than few thousand rows), what is the most efficient way to obtain the maximum high price and minimum low price given the ricCode and startDate and endDate of each row of the dataframe ? {'ricCode': {0: '0.0700.HK', 2: '0700.HK', 3: '9988.HK, 6: '2388.HK', 7:…
from statsmodels.tsa.stattools import adfuller from statsmodels.tsa.stattools import acf, pacf from statsmodels.tsa.holtwinters import ExponentialSmoothing from statsmodels.tsa.arima.model import ARIMA from statsmodels.tsa.seasonal import seasonal_decompose from datetime import timedelta, datetime import pandas as pd…
Hello, I've been trying to pull some historical data about Ports using the API. This data is available through the Desktop app but I need to be able to do it programmatically. I've been digging around but couldn't find a solution. There could be 2 ways to approach the problem: Ports - I have seen a few old questions on the…
When running the following commands in Codebook: import refinitiv.data as dl dl.open_session() df=dl.get_data(['MMM.N', 'APO.N', 'IFC.TO', 'JPM.N', 'PGR.N', 'WRB.N', 'KKR.N'], ['TR.CompanyName', 'AVAIL(TR.Revenue(Period=FQ0).date,TR.Revenue(Period=FI0).date)'], parameters={'NULL':'Blank'}) ,dates are not returned for some…
It looks like you're new here. Sign in or register to get started.