-
What is wrong with my Symbol conversion code?
Hello Team please check the following code. The output that I want is USA country code specific but it is showing Exchanges from Thailand and Vienna. Also my asset class are code for funds, equities, certificates and bonds but Commodities futures also show in my output. Here is the code: from lseg.data.content import…
-
ld.news.get_headlines
Hi DevPortal, good afternoon. May I ask for your help. I use python library to fetch news by ld.news.get_headlines('Elon musk', count=10), while it return error: LDError: Error code 400 | Query cannot return any result. Is there any format for query in this function? Kindly pls provide me a sample script on how to do this…
-
Could you please provide us with Some docs for below API Dotnet sample of the API , if available Co
Could you please provide us with Some docs for below API Dotnet sample of the API, if available Connection/session details to start testing out this API
-
Pull historical Lipper derived holdings data using RDP API
Hi! I would like to pull historical derived holdings data for +1000 funds on LSEG Workspace (specifically Lipper) using the Python API. I saw a few posts that I might want to use the RDP API for such tasks. I have accessed RDP but can't figure out which functions I should use. Could you provide some instructions? Below is…
-
Getting Benchmark Revisions for Economic Indicator
Hello, When the US Jobs report (RIC: USNFAR=ECI) is released, they also send in revisions for prior months along with new data for the month. We noticed that the values in get_history call from LSEG python library does not reflect these revisions for prior months for few hours… today the values were updated 2-3 hours after…
-
Import os restricted and module not found errors
Hi! I am trying to run the code described in this article to retrieve earnings calls from the Python Codebook in LSEG Workspace: . However when I try to import os and pysftp I get the following errors: RefiImportError: Import 'os' is restricted. ModuleNotFoundError: No module named 'pysftp' Could you please advise how to…
-
Joiners and Leavers for STOCK EXCHANGE (not MAIN INDEX)
Hi, I'm interested in retrieving historical joiners and leavers for stock exchanges. I've gone through a number of Q&As and am aware that there is functionality to obtain historical joiners and leavers for the main stock INDICES, but I wanted to know if the same exists for stock EXCHANGES. For example, the code below…
-
how to get the EST screen for any random company as of -21 days ago?
Good morning Devportal Team, Client wants to get EST as of a historical date. e.g. day before quarterly announcement in Python Please provide sample script on how to do this for any Rics. Thank you for your advance support
-
Is there a code where I can convert a list of RICs into its US RIC counterpart?
Hello team, for example RIC ABX.TO is listed in Toronto Exchange the RIC which the Exchange is United States is RIC B. I have managed to create this code: import refinitiv.data as rd rd.open_session() rd.discovery.search( view = rd.discovery.Views.EQUITY_QUOTES, top = 10, filter = "(AssetState ne 'DC' and…
-
FX cross in Turn Dates in API
Hi team, Specialist here from Customer Support. Related to this q&a Is there a way to retrieve Turn Dates for a specific currency pair directly on Python ? — LSEG Developer Community there is a specific parameter if you want to calculate CCy1 or CCy2 which is then discussed in this guide:…
-
whether workspace provide some documentation or method for us to use API to retrieve report
I remember LSEG workspace provides API for users to retrieve data. We wonder whether workspace also provide some documentation or method for us to use API to retrieve report data we need automatically?
-
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=[…
-
Python Codebook Download Format
Hi Devportal, I have a few code on python codebook and looking to download as .py format no as .ipynb format. Please help me if you have any way to download it. Thank you.
-
Scheduled price extraction for currencies
Trying to extract scheduled price data for CNH and CNY identifiers , i was able to successfully extract EOD pricing for these identifiers but facing error when trying to extract the prices at specific time of day, please find below the API query details along with URL and error message Code from ayx import Alteryx import…
-
api pull data notification alerts on daily basis.
Hi Dev team good afternoon. Client raised a query: Can you please let me know if there is any api pull data notification alerts on daily basis. Is there anyone from LSEG development team to reach out or any link to refer. Thank you