Current sales, Net margin and wages or labour costs' and need to add to the field TRDPRC_1 with the

Options

Current sales, Net margin and wages or labour costs' and need to add to the field TRDPRC_1 with the correct RIC

I would like to download the 'current sales' , 'net margin' and eventually 'wages' or 'labor costs' and need to add to the field TRDPRC_1 with the correct RIC, wchich i do not find in the DIB ... can you and your team help ? May be directly correct the start of the code below, should take you or someone in your team a few seconds ;) Txsfrom lseg.data.content import symbol_conversionimport lseg.data as ldimport pandas as pdimport numpy as npimport matplotlib.pyplot as pltfrom pymongo import MongoClient# Ouvrir une sessionld.open_session()# Récupérer données daily de marchédf_daily = ld.get_history(universe=['.SPX', '.STOXX'],fields=['TRDPRC_1', 'TR.RevenueMean', 'TR.NetProfitMean'],interval="daily",start="2025-01-01",end="2025-08-01",)print(df_daily)ld.close_session(df_daily)I still do not found out wher I have all the refernce codes, kind of a complete list, I must use for API's.

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Sachin_Murthy

    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, that can be used to retrieve the required data.

    Then, we can help you converting that formula to Python code.