Is it possible to make a connection to Eikon data API through a Python script in AWS?.

Jorge_perez_plaza
edited February 13 in Eikon Data APIs

Hi all,

I have a python script to retrieve data using Eikon Data API, which works when I run it in my local visual studio code, but I wanted to automate it through AWS. Here the connection is not working because (I believe) to do it through the API, a session must be logged in in the Eikon terminal.

This is the error it's retrieving: Exception for BRTDFLMc1: Session is not opened. Can't send any request",

Thanks!

Jorge

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @Jorge_perez_plaza

    Thank you for reaching out to us.

    The Eikon Data API retreived data via the Desktop session (Eikon or LSEG Workspace application). This means that the Eikon or LSEG Workspace application must be running on the same machine as the Eikon Data API Python code.

    Therefore, if you would like to use Eikon Data API on AWS, you need to install and run Eikon or LSEG Workspce on the same AWS virtual machine or instance.

    Otherwise, to use it on AWS, you need to use the LSEG Data Library for Python with the Platform session which will directly connect to the LSEG Data Platform on Cloud.

    image.png

    To directly connect to the LSEG Data Platform, you need the LSEG Data Platform's credentials. Please contact your LSEG account team or Sales team directly for more information.

  • Hello @Jorge_perez_plaza

    While my colleague has explained a clear answer to you, please note that some content sets on the Workspace Desktop application and the RDP (LSEG Data Platform on Cloud) platform are different. Please check with your LSEG representative or Account Manager to confirm if the content you need is available on the RDP.