Accessing Close data for LTF24^2 via python

How to access data for commodity RIC LTF24^2; LTG24^2, etc. via python? Code below doesn't work. Thank you

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @julien.granger

    Thank you for reaching out to us.

    You can ignore the fields parameter to retrieve all available fields. I executed the following code.

    ld.get_history(['LTF24^2'], count = 10)
    

    The response is:

    image.png

    The value of the TRDPRC_1 from the historical database is NA.

    Please contact the helpdesk team via LSEG Support to verify the data.

    Please include the URL of this discussion in your raised question to prevent it from being redirected back to this Q&A forum.

Answers

  • Hi Jirapongse, thank you for your answer. I see actually that the field SETTLE is populated, which is what I need. Thanks for the resolution.