-
Websocket connection is disconnecting using lseg.data library
Hi, I am using v2.1.1 of the lseg.data Python library to stream realtime data. My setup is working most of the time, but once in a while (every few days, but no set pattern), the websocket disconnects for ~2 seconds, during which I lose data. I have identified one such event and captured the logs surrounding the event,…
-
Missing values for TR.IndexJLConstituentRIC.change when querying leavers and joiners of indices
See the following code (that works in general) and output. Until a few weeks ago, the code worked without the missing values. How can I get the (non missing) values for the variable TR.IndexJLConstituentRIC.change? ld.open_session() SP100_constitutents_Leavers_Joiners_df = ld.get_data( universe=[ '.OEXA' ], fields=[…
-
How shall I extract the floating rates used in the model from the python API pricer for swaps?
Hi, I am currently using Python API (online pricer) for interest rate swaps (refinitiv.data.content.ipa.financial_contracts.swap), and I want to extract the floating rates used in the model, do you know how to extract? Thanks.
-
Financial data quarterly wrong date?
When doing some data quality checks I found some instances where the "Original Announcement Date" was before the date of some values like Total Assets. I came to reproduce that error in a simple request: from lseg.data.content import fundamental_and_reference fundamental_and_reference.Definition( ["4295859017"],…
-
Why do I keep getting timeout errors when pulling the full list of US stocks? Are there any solution
cond = 'IN(TR.ExchangeCountryCode,US)' each_req = "SCREEN(U(IN(Equity(active,public)))/UNV:Public/, " + cond + ", NOT_IN(TR.InstrumentTypeCode,BONDFUT,BONDSPREAD,CEF,ETF,ETFA,ETFB,ETFC,ETFE,ETFM,ETFO,ETFX,ETMF,FUN,GROWUNT,HDG,INS,OPF,OPTRTS,PAIDSUBRTS,PREFERRED,PRF,RTS,SUBSRTS),CURN=USD)" fields = ["TR.OrganizationID",…
-
Where can I check how much data I have extracted using API calls for the day so as to prevent myself
Where can I check how much data I have extracted using API calls for the day so as to prevent myself from hitting the daily limit? I have been checking the Logs from the Configuration Manager and in the log text file I get the information of my usage. Can you please let me know how frequent do the logs get updated in the…
-
How to download the company by NACE through API?
I wanted to download the company by nace and I used this python code import refinitiv.data as rd rdp.open_desktop_session('19f8a5692b6541da8042ea982f7912f3439c2e45') import refinitiv.data as ld ld.open_session() def get_companies_by_nace(nace_code): """Get list of companies for a given NACE code""" universe_query =…
-
Empty data using TR.FundNAV and TR.BIDPRICE for the fund IL0051297708 using the Python API?
Why I am getting an empty dataframe when getting the NAVs data using the TR.FundNAV and the Bid Price using the TR.BIDPRICE for the Israeli fund <IL0051297708> using the Python API?
-
What has changed in LSEG.Data 2.1.0?
There is a new version 2.1.0 but the release notes have not been updated. Any bug fixes or changes we should be aware of? https://www.nuget.org/packages/LSEG.Data/2.1.0
-
Workspace API using LSEG Data Library does not show any result
Trying to pull data by Worksapce API (LSEG Data Libarry, desktop session) returns "Company Common Name", instead of "Toyota Motor Corp" by rics = ['7203.T'] fields = ['TR.CommonName'] df, err = ld.get_data(universe=rics, fields=fields) lseg-data version is 2.1.1 python code, log file and result screenshot is as attached.…