Provide Shipping Flows Python Script

Scott_Rietze15
Scott_Rietze15 Newcomer
edited March 26 in Eikon Data APIs

Looking for someone to help put together a script to pull shipping data for clean products (gasoline, gasoline component, naphtha, Gasoline / Gasoline Component) as imports/exports out of all US PADDS.

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Scott_Rietze15

    Thank you for reaching out to us.

    If you are using the Workspace application, you can use the LSEG Data Library for Python to retrive data.

    However, to retrieve, you need to know instruments (RICs, ISINs, etc.), fields, and parameters. For example:

    • The ld.get_data() method can be used to retrieve fundamental and pricing data (TR.xxx fields).
    • The ld.get_history() method can be used to retrieve historical data.
    • The ld.discovery.search() method can be used to search for instrumets.

    The examples are available on GitHub. You can also use the Data Item Browser tool to search for fields and parameters.

    Otherwise, you can contact the helpdesk team directly via MyAccount to ask for instruments, fields, and parameters.

    Typically, the data retrieved from the library is similar to the data retrieved from the Eikon Excel or Workspace Excel. Therefore, you can also ask for the Excel formulas that can be used to retrieve the requried data.

    Then, we can change the Excel formulas to Python code.

  • @Jirapongse can we share sample script/s pertaining to the request based on your initial recommendation with @Scott_Rietze15
    ?


    Looking forward to it.

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @JovenObado

    This forum is dedicated to technical queries on LSEGproduct 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.

    You may need to check if this information can be retrieved from the Eikon Excel or Workspace Excel.

    If the Eikon Excel or Workspace Excel can retrieve this data, we may be able to convert it to the Python code.