We aim to collect monthly financial data from January 2010 to December 2023 for approximately 8,000 ISINs for the following three variables:
Here is the query of the client
@Tatiannah
Thank you for reaching out to us.
This forum is dedicated to software developers using LSEG APIs. The moderators on this forum do not have deep expertise in every bit of content available through LSEG products, which is required to answer content questions such as this one.
The best resource for content questions is the Helpdesk support team, which can be reached by submitting queries through LSEG Support. The support team will either have the required content expertise ready available or can reach out to relevant content experts to get the answer for you.
You need to ask for the Excel formula, such as =RDP.Data or =RDP.HistoricalPricing, that can be used to retrieve the required data. Then, we can help you converting that formula to Python code.
Hi @Jirapongse can you please check if you can convert this formula to Python Code. Please check the attached excel file. Please refer to the 3 formulas. Let me know if you can convert this to API
The code look like this:
ld.get_data( universe=['AT0000837307','AT0000730007'], fields = ['TR.F.PriceToEBITDAPerShr.periodenddate','TR.F.PriceToEBITDAPerShr'], parameters = {'SDate':0,'EDate':-5})
ld.get_data( universe=['AT0000837307','AT0000730007'], fields = ['TR.F.PriceToBookValuePerShr.periodenddate','TR.F.PriceToBookValuePerShr'], parameters = {'SDate':0,'EDate':-5})
ld.get_data( universe=['AT0000837307','AT0000730007'], fields = ['TR.SharesOutstanding.calcdate','TR.SharesOutstanding'], parameters = {'Frq':'CY', 'SDate':0,'EDate':-6})