-
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",…
-
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?
-
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.…
-
Hi, I was trying to retrieve prices with Eikon API but I can not sort by date asc neither can I see
Hi, I was trying to retrieve prices with Eikon API but I can not sort by date asc neither can I see the date in the output. Can you please help me? My query is df = ek.get_data(["GOOG.O", ".STOXX50E"], ['TR.CLOSEPRICE'], {'SDate': '1D', 'EDate': '-121AM', 'RH':'date', 'FRQ': 'D', 'Sort':'A', 'FILL':'PREVIOUS'})
-
I can’t seem to get the TRDPRC_1 value for BRTCALAMc0
I am trying to pull forward curve data off of the RDP API and I can’t seem to get the TRDPRC_1 value for BRTCALAMc0. It keeps giving me <NA> - see below: On the Workspace App, I am able to see this value on the Data Item Browser. So I am not sure why that is not possible through the API. Thanks, Denis
-
WS API How to Retrieve MBS, ABS, and Corporate Bond by Country or Currency
Currently, Our client is looking to obtain data on U.S. MBS (Mortgage-Backed Securities), ABS (Asset-Backed Securities), as well as corporate bonds categorized by country or currency. Until now, he has been using the following method to retrieve government bond data. However, he have not been successful in acquiring MBS…
-
Lseg data - Workspace API returns error for M&A
The attached python code returns "SCREEN(MnANation(JP), DealType(M&A), TOP(10)) processing failed…." error. Please advise what is wrong. https://us.v-cdn.net/6038239/uploads/6I0G56MB3Z5P/m-26a-data-script.txt