Client having issues with API from Eikon.

Case# 15138552

Raising the query on behalf of a client.

Seeking assistance with the client query regarding the use of API from desktop Eikon. They are mentioning that the code is not working for several days now as well as getting errors on some asset classes they use. Error is below and script used(most RICs on script is Commod) attached.

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-2-e8871ab674ec>", line 354, in <module>
GPWR_Cal1_ek = GPWR_Cal1_ek.rename(columns = { "OPEN": "Open",
AttributeError: 'NoneType' object has no attribute 'rename'

Initial research states that Eikon API should still work even after decommission of Eikon itself. Other than that, could not relate any information for the issue. Having trouble as well trying to replicate on my end.

Any help or assistance is appreciated.

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @jeffearvin.mallari01

    Thank you for reaching out to us.

    The client can enable the debug log in the library by calling the ek.set_log_level(1), as shown below.

    import eikon as ek
    ek.set_log_level(1)
    ek.set_app_key('<app key>')
    

    Then, please share the full log when the problem occurred.