Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

API response 500

Hi // URGENT

i can t have the data eikon python

it worked but now it doesn t


selected=data1['RIC'].tolist()

data = ek.get_timeseries(selected,['CLOSE'],start_date=SD,end_date=ED,interval='monthly')

Traceback (most recent call last):


File "<ipython-input-19-5896114c36e7>", line 9, in <module>

data = ek.get_timeseries(selected,['CLOSE'],start_date=SD,end_date=ED,interval='monthly')


File "C:\ProgramData\Anaconda3\lib\site-packages\eikon\time_series.py", line 160, in get_timeseries

ts_result = eikon.json_requests.send_json_request(TimeSeries_UDF_endpoint, payload, debug=debug)


File "C:\ProgramData\Anaconda3\lib\site-packages\eikon\json_requests.py", line 92, in send_json_request

raise requests.HTTPError(str(response), response=response)


HTTPError: <Response [500]>

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@BestQuant56

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query? If yes, please click the 'Accept' text next to the appropriate reply.

This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
4.3k 2 4 5

Hi,

First actions will be:

  • Stop Eikon Desktop,
  • Clear Eikon cache (see here),
  • then restart Eikon Desktop

Could you also detail useful infos:

  • Python version
  • eikon lib version (I suggest to upgrade to latest 1.1.7 version)
  • Eikon Desktop Version

As you can reproduce, to get more information, you can:

  • activate eikon logs (ek.set_log_level(1) before ek.set_app_key(...)
  • configure Eikon Desktop logs to debug
  • then run your script

And share:

  • python output (without personal info like app key)
  • APIProxy log from from Eikon Desktop log files
    => should be in C:\ProgramData\Thomson Reuters\Eikon Data\Logs\TRD\Eikon.<date>.<pid>\
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.