A question about Eikon api

I set a scheduled task to obtain multiple types of data at eight o 'clock every day. Today, I found out whether the data acquisition failure was caused by obtaining multiple types of data at the same time

error info: pyeikon json_requests.py:145:HTTP request failed: unknown async library, or not in async context

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @joneliu

    Thank you for reaching out to us.

    I searched this error on Google and found that this error is from the underlying library.

    1691471731600.png

    Does this issue happen randomly or all the time?

    You can enable logging in the API by using the below code to verify the problem.

    import eikon as ek
    ek.set_log_level(1)

Answers