just trying to set-up some code and looking for some help
i want historical data for fields like this: df = ld.get_data(universe = ["CAEMPC=ECI"], fields = ['DSPLY_NAME', 'DSPLY_NME2', "RELEVANCE",'CF_DATE', 'VALUE_TS1','ECON_ACT', 'ECON_PRIOR','RTR_POLL', 'FCAST_SEST','FCAST_HIGH', 'FCAST_LOW','FCAST_MEAN','FCAST_MEDN','FCAST_MODE','FCAST_STD_DEV', 'FCAST_NUM'])
i just don't know how to/if I can access them.
df = ld.get_history(universe = ["CAGDPY=ECI"], fields = ['Value', 'ECON_PRIOR'], start = "2025-01-01")
@SrinivasDhananjay
Thank you for reaching out to us.
You can the ld.get_history method and ignore the fields parameter to retrieve all available historical real-time fields.
df = ld.get_history( universe = ["CAEMPC=ECI"]) df
CAEMPC=ECI only supports the VALUE field for daily historical data.
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 and =RDP.HistoricalPricing, that can be used to retrieve the required data. Then, we can help you converting that formula to Python code.
@Jirapongse Thank you for assisting me with this query. The client has a follow up on this query " suggest that someone add said data to the api given you guys clearly have it somewhere."
Is this something that is possible ?
Could you please clarify what it means?
For content related questions, please contact the Workspace Excel support team directly and ask for the Excel formula, such as =RDP.Data and =RDP.HistoricalPricing, that can be used to retrieve the required data. Then, we can help you converting that formula to Python code.