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…
is there a way to pull this information through Python or Excel? import lseg.data as ld import pandas as pd ld.open_session() ld.get_data(universe=['C}KV7309950155'],…
Hi, I previously used the Eikon Data API in Python to retrieve historical data for mutual funds and ETFs, including NAV prices. Since this API is being deprecated, I have started working with the LSEG Data Library and successfully opened a session. However, I have not been able to retrieve NAV or similar data for mutual…
I'm using refinitiv data library in python and with a platform session and keep getting this error: An exception occurred: Error code -1 | The read operation timed out . I'd like to know what I did wrong. Full error message: An exception occurred: Error code -1 | The read operation timed out. Code: My complete code does…
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
Could you please provide some function using the Python LDL's get_data for lots of data, specifically, lots of instruments?
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…
Hi community! I am connecting to pricing streams using the LSEG Python library (version lseg.data==2.0.1) Here is a sample code. I am then able to register callbacks with the stream and listen to the data. session = ld.session.platform.Definition( app_key=api_key, grant=ld.session.platform.ClientCredentials(…
Hello I'm trying to connect to the lseg.data library via an API in Jupyter notebook and when trying to open a session as per below, I get an error message. session = ld.session.platform.Definition( app_key = "My App Key", grant = ld.session.platform.GrantPassword( username = "My Useer Name", password = "My PWD"…
Hi, I'm using the following code to import historical data for a stock in Python: ld.get_data(universe = "ABBN.S", fields = ['TR.CLOSEPRICE.DATE', 'TR.CompanyMarketCapitalization'], parameters = {'SDate': Start_Date, 'EDate': End_Date, 'Frq': 'D'}) Now I would like to import the price-to-book ratio. What is the best way to…
It looks like you're new here. Sign in or register to get started.