eikon get_timeseries download error

I am using eikon.get_timeseries on python trying to get minute data for a list of tickers. I get the following error: timestamps = pd.np.array(datapoints[:, timestamp_index], dtype='datetime64') # index for dataframe IndexError: too many indices for array

Note that the behaviour is totally random: if I shorten my list of tickers, I get a correct download. Then I re-rerun with the shortened list and I get the error again. To me it seems that if the request times out, the response is malformed and therefore cannot conform to a pandas dataframe.

Do you know any solutions for this? Thanks,

pietro

Welcome!

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

Best Answer

Answers

  • Hi,
    could you detail your request using eikon.get_timeseries function ?

  • ET2
    ET2 Newcomer

    tmp= eik.get_timeseries(MyList[0:50], 'CLOSE', start_date='2017-09-20T13:48', end_date='2017-09-20T13:59', interval='minute', corax='unadjusted', debug=False).tz_localize('GMT').tz_convert('Europe/Amsterdam')

  • ET2
    ET2 Newcomer

    I think a possible solution is to set raw_output=True and then convert the raw data to pandas myself through a python def.

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.