Missing methods in python API

It appears that the Eikon package is missing methods/attributes:

1655124875822.png

As the snip shows, only get_data and get_timeseries appear.

This was not always the case, but happens when I restart the pc. Updating/reinstalling the package does not work either. I am using spyder but the same shows accross all IDEs I utilized.

I am by now clueless as to what may be causing the problem.


Thanks!

Tagged:

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @lebion

    How did you set up the Eikon Data API with the Conda environment? I have tested with MiniConda, Spyder IDE 5.1.5, and Eikon 1.1.15. The Spyder's autocompletion works fine.

    spyder-1.png

    spyder-2.png

    Please note that I set up the environment with the following steps:

    1. Create a new conda environment with the "conda create --name spyder_eikon python=3.9" command
    2. Activate the spyder_eikon environment
    3. Install Spyder with the "conda install spyder" command
    4. Install Eikon Data API with the "pip install eikon" command

Answers

  • Hi @lebion

    Might be helpful if you provide some additional details. What environment are you running in? CodeBook? Your own jupyter env? What version of the library are you using? What are you doing to produce the above display?

  • lebion
    lebion Newcomer

    Hi Nick


    For all IDEs I am running the py file with the same Anaconda environment in different IDEs (Spyder, PyCharm) with the eikon package installed, so currently not using CodeBook (which works fine btw). But it works when I run the code within JupyterLab or Jupyter Notebook in an ipynb format.

    Library version is 1.1.15.

    The print is the autocomplete suggestion for the eikon package when using the terminal in Spyder. Only the same "get_timeseries" and "get_data" functions are available. Since I must also use the "get_app_key" function to fetch data, the package is rendered useless.

    The only pattern I detected is that it happens after restarting the pc.