-
Why is the fperiod not properly aligned with the values?
I'm having problem when downloading financial income data. For this example in the code below, the "Financial Period Absolute" (fperiod) is not properly aligned with the true financial data. We can see that on "TR.F.OperProflnOpCASR | XEBT", there are 2 values on FY2024Q4, but it should be one value for FY2024Q4 and…
-
Python refinitiv lib token expiration error
I'm using refinitiv lib in python like this: import refinitiv.data as rd rd.get_data(universe=self._stocks,fields=["TR.HIGHPrice","TR.OPENPrice","TR.CLOSEPrice","TR.LOWPrice","TR.CLOSEPRICE.DATE","TR.ACCUMULATEDVOLUME","TR.NUMBEROFBLOCKTRADES","TR.TSVWAP"],parameters={'SDate':self._start.strftime("%Y-%m-%d"),…
-
How to configure endpoint in LSEG Python library?
Hi community! I am trying to find more information about how best to configure the lseg data library for Python. I am interested in connecting to an AWS endpoint that is closest to my servers. How can I configure this? I am familiar with service discovery, but I cannot seem to find a way to change the configuration of the…
-
Fixing lseg-data and refinitv-data missing modules?
I am trying to install lseg-data and/or refinitiv-data into a new python environment. Pip install lseg-data and/or pip install refinitiv-data works fine. The environment is new/clean, and i am ignoring caches. However, when i test the library in pythond as follows (just testing the package, not even at the session start…
-
How To Connect to News With Python
Hello, I am trying to connect to RDP news directly in python without having the terminal in the same machine. import lseg.data as ld import os os.environ["LD_LIB_CONFIG_PATH"] = r"C:\\Users\\padadmin\\PycharmProjects\\pythonProject\\Repos\\pwm-pad\\APIs\\Configuration" ld.open_session() Where I have the json file like…
-
eikon `get_timeseries` and lseg.data `get_history` return different results
I'm currently in the process of updating my Python code to switch from the Eikon API to the LSEG Data Library. I've encountered an issue where the dates returned by eikon.get_timeseries and ld.get_history are different, even though the same arguments are used. The first screenshot below shows the result for ".DJI" using…
-
inconsistency with get_history lseg api endpoint
I'm currently migrating a workflow from the legacy Eikon Python API to the new LSEG Data (RD) API, and I’ve encountered a couple of points that require clarification. In the Eikon API, I was using the get_timeseries() function with fields='CLOSE' to retrieve historical Euribor data for the following instruments:…
-
LSEG api get_history doesnt have CLOSE
I’m migrating from eikon to lseg. I’ve been advised to migrate eikons get_timeseries to lseg get_history. With eikon I can get the CLOSE values (see below in a.). Lseg doesn’t have CLOSE or anything similar. (see below in b.) This is using your own codebook. Please advise. a. Refinitiv.Eikon df_hist_ek = ek.get_timeseries(…
-
API for Eikon vs Workspace Data
Client is currently testing the API for Eikon vs Workspace and the output are different for some fields related to Deals. Attached is a screenshot for your reference. Can you please check if this is normal and what is the reason behind this? Do we have the correct way of getting the data? (Attached screenshot from API) I…
-
we need to use “screen” function in python to find the company, remember the companies are not liste
My understanding is that we need to use “screen” function in python to find the company, remember the companies are not listed, they DO NOT have RIC. I believe we need to similar code as below, but the universe should be set to “Private equity” My question is that I need CODE to produce the same output as I use “DSCREEN”.…
-
Shipping API Question
Is there an API script to see clean products (gasoline, naptha) as imports/exports out of US PADDS zones?
-
Provide Shipping Flows Python Script
Looking for someone to help put together a script to pull shipping data for clean products (gasoline, gasoline component, naphtha, Gasoline / Gasoline Component) as imports/exports out of all US PADDS.
-
How to retrieve or see expiry dates for the LME 3M contract for trade dates in the past on API
Is there a way to see expiry dates for the LME 3M contract for trade dates in the past via API i.e I'd like to find out what the 3M expiry date was when trading on 21 March
-
get_lots_of_data function for the Pyhton LSEG Data Library
Could you please provide some function using the Python LDL's get_data for lots of data, specifically, lots of instruments?
-
Getting latest data for continuous futures contracts
Using the lseg.data library, I would like to download the latest traded price TRDPRC_1 and settle price if available. I have access to historical data using ld.get_history() but mostly empty data sets using ld.get_data(). Can you confirm python script that should work for Cc1 and Sc1 and/or a way to see if our subscription…