Eikon API Hangs and doesn't give error message, then other times it works fine. It really seems ...

Options

...to be random.

If I run

import eikon as ek

then run

ek.set_app_key('xxxxxxx') t

then run

data = ek.get_timeseries(['.SPXTR'], fields='CLOSE', start_date='2020-02-12', end_date='2021-02-08', interval='daily')

It works, most of the time. However, if I run it all in one scrip it will hang without giving an error and I have to restart spyder. This can't be by design so what can I do to fix this? Thanks.

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • adam-s.fay
    adam-s.fay Newcomer
    Answer ✓

    After discussing it further with the development team, I am going to use the DSWS API instead. I have not had any issues with it and it seems to be a little more polished than the Eikon one. Thanks, and this thread can be closed.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.